aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-06 06:59:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-06 06:59:46 +0800
commitfec83fec7d71e7f2ef396dc0520cd6713f9809f0 (patch)
tree66e5b224486f358db8025ce7e2e4b470b48bb47d /camel/providers
parentf09882063f5b53e8ab0db33188541f8c0baa2d0c (diff)
downloadgsoc2013-evolution-fec83fec7d71e7f2ef396dc0520cd6713f9809f0.tar.gz
gsoc2013-evolution-fec83fec7d71e7f2ef396dc0520cd6713f9809f0.tar.zst
gsoc2013-evolution-fec83fec7d71e7f2ef396dc0520cd6713f9809f0.zip
Added an assert to make sure that `mi' isn't NULL.
2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * camel-folder-summary.c (camel_message_info_string): Added an assert to make sure that `mi' isn't NULL. (camel_message_info_set_string): Same. * providers/imap/camel-imap-command.c (camel_imap_response_free): Create and use a temporary CamelException for use with camel_imap_folder_changed. svn path=/trunk/; revision=10834
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-command.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c
index ce6f60554d..8c5532c612 100644
--- a/camel/providers/imap/camel-imap-command.c
+++ b/camel/providers/imap/camel-imap-command.c
@@ -413,8 +413,12 @@ camel_imap_response_free (CamelImapStore *store, CamelImapResponse *response)
if (response->folder) {
if (exists > 0 || expunged) {
/* Update the summary */
- camel_imap_folder_changed (response->folder,
- exists, expunged, NULL);
+ CamelException ex;
+
+ camel_exception_init (&ex);
+ camel_imap_folder_changed (response->folder, exists, expunged, &ex);
+ camel_exception_clear (&ex);
+
if (expunged)
g_array_free (expunged, TRUE);
}