From fec83fec7d71e7f2ef396dc0520cd6713f9809f0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 5 Jul 2001 22:59:46 +0000 Subject: Added an assert to make sure that `mi' isn't NULL. 2001-07-05 Jeffrey Stedfast * 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 --- camel/providers/imap/camel-imap-command.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'camel/providers/imap') 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); } -- cgit v1.2.3