summaryrefslogtreecommitdiffstats
path: root/databases/evolution-data-server/files/patch-camel_providers_imap4_camel-imap4-summary.c
blob: 55db1a65dcf030a7af75848b05483e5b4f1bc2c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- camel/providers/imap4/camel-imap4-summary.c.orig    Mon May  7 01:01:31 2007
+++ camel/providers/imap4/camel-imap4-summary.c Mon May  7 01:05:32 2007
@@ -1148,6 +1148,7 @@ static CamelIMAP4Command *
 imap4_summary_fetch_flags (CamelFolderSummary *summary)
 {
    CamelFolder *folder = summary->folder;
+   CamelIMAP4Summary *imap4_summary = (CamelIMAP4Summary *) summary;
    struct imap4_fetch_all_t *fetch;
    CamelMessageInfo *info[2];
    CamelIMAP4Engine *engine;
@@ -1479,7 +1480,7 @@ camel_imap4_summary_flush_updates (Camel
        }
    } else {
        /* need to fetch new envelopes */
-       first = scount + 1;
+       seqid = scount + 1;
    }
    
    if (seqid != 0 && seqid <= imap4_summary->exists) {