aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2004-06-18 10:48:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-18 10:48:53 +0800
commit056584218d9ef139ecb2a54d4ebc0d11a08a6fd5 (patch)
treeefda248a68e07fffec2a529149ae687cbf091688
parente286346c8dfa7926b2384791bb868c36983052c0 (diff)
downloadgsoc2013-evolution-056584218d9ef139ecb2a54d4ebc0d11a08a6fd5.tar.gz
gsoc2013-evolution-056584218d9ef139ecb2a54d4ebc0d11a08a6fd5.tar.zst
gsoc2013-evolution-056584218d9ef139ecb2a54d4ebc0d11a08a6fd5.zip
make 'colon' a const char *
svn path=/trunk/; revision=26406
-rw-r--r--camel/ChangeLog2
-rw-r--r--camel/providers/imap4/camel-imap4-folder.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 1a1a467966..fbf6c1e1c1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -2,7 +2,7 @@
* providers/imap4/camel-imap4-folder.c (uidset_init): init
tail->last to (guint32) -1, so that index = tail->last + 1 will
- start at 0 :-)
+ start at 0 at the top of uidset_add() :-)
2004-06-17 Rodney Dawes <dobey@novell.com>
diff --git a/camel/providers/imap4/camel-imap4-folder.c b/camel/providers/imap4/camel-imap4-folder.c
index e06b5ab563..0d84408cbc 100644
--- a/camel/providers/imap4/camel-imap4-folder.c
+++ b/camel/providers/imap4/camel-imap4-folder.c
@@ -362,10 +362,10 @@ uidset_add (struct _uidset *uidset, CamelMessageInfo *info)
struct _uidset_range *node, *tail = uidset->tail;
const char *iuid = camel_message_info_uid (info);
size_t uidlen, len;
+ const char *colon;
guint32 index;
- char *colon;
- /* Note: depends on integer overflow for initial tail->last value */
+ /* Note: depends on integer overflow for initial 'add' */
for (index = tail->last + 1; index < messages->len; index++) {
if (info == messages->pdata[index])
break;