[evolution-data-server] Fix starting UID in QRESYNC SELECT.
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix starting UID in QRESYNC SELECT.
- Date: Wed, 30 Jun 2010 10:09:48 +0000 (UTC)
commit ac6557eb872437e4d7b44fc01d9eafcc404b4d8e
Author: David Woodhouse <David Woodhouse intel com>
Date: Wed Jun 30 11:08:54 2010 +0100
Fix starting UID in QRESYNC SELECT.
The indices in the folder summary count from zero, not one.
camel/providers/imapx/camel-imapx-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 834c682..a2ed753 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2388,7 +2388,7 @@ imapx_select (CamelIMAPXServer *is, CamelFolder *folder, gboolean forced, CamelE
const gchar *uid = "1";
if (total)
- uid = camel_folder_summary_uid_from_index (folder->summary, 1);
+ uid = camel_folder_summary_uid_from_index (folder->summary, 0);
if (isum->modseq && ifolder->uidvalidity_on_server) {
c(printf("SELECT QRESYNC %ld %ld\n", ifolder->uidvalidity_on_server, isum->modseq));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]