aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-08-11 02:33:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-11 02:33:49 +0800
commit42ab5199eb34f8d4937dc740a7d9a8daabe43102 (patch)
treeb5e79c2006073b985fe6ab382171a1c289e68458 /camel
parent6b6972e26e7c956a392bbec6c4faaf33555df990 (diff)
downloadgsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.tar
gsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.tar.gz
gsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.tar.bz2
gsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.tar.lz
gsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.tar.xz
gsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.tar.zst
gsoc2013-evolution-42ab5199eb34f8d4937dc740a7d9a8daabe43102.zip
tedfast <fejj@ximian.com>
tedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c (imap_rescan): Don't g_strdup() the uid into the trigger_event call. svn path=/trunk/; revision=11892
Diffstat (limited to 'camel')
-rw-r--r--camel/providers/imap/camel-imap-folder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index b5fba64117..d0b9e01795 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -519,21 +519,21 @@ imap_rescan (CamelFolder *folder, int exists, CamelException *ex)
camel_folder_summary_info_free (folder->summary, info);
g_free (new[i].uid);
}
-
+
seq = i + 1;
-
+
/* Free remaining memory. */
while (i < summary_len && new[i].uid)
g_free (new[i++].uid);
g_free (new);
-
+
/* Remove any leftover cached summary messages. (Yes, we
* repeatedly add the same number to the removed array.
* See RFC2060 7.4.1)
*/
for (i = seq; i <= summary_len; i++)
g_array_append_val (removed, seq);
-
+
/* And finally update the summary. */
camel_imap_folder_changed (folder, exists, removed, ex);
g_array_free (removed, TRUE);