diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-18 10:49:29 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-18 10:49:29 +0800 |
commit | d184f178b8ede3b173789195ba22a243da08fc42 (patch) | |
tree | cef6574bb46813e30f3e1ed98105768462ca6c12 /camel/providers/imap | |
parent | a37006af0ac5ff13e3825189485d1e5edee1720e (diff) | |
download | gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.tar gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.tar.gz gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.tar.bz2 gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.tar.lz gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.tar.xz gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.tar.zst gsoc2013-evolution-d184f178b8ede3b173789195ba22a243da08fc42.zip |
Add some g_warnings() to help debug later if I ever get the segfaults I
2001-01-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-summary.c (message_info_load): Add
some g_warnings() to help debug later if I ever get the segfaults
I was getting earlier. Can't seem to reproduce them after my
previous "fix".
* camel-folder-summary.c (camel_folder_summary_load): Undid my
change here, NotZed said it was wrong and that if it gets a NULL
mi then it should abort and not continue.
svn path=/trunk/; revision=7609
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-summary.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-summary.c b/camel/providers/imap/camel-imap-summary.c index dd77673cad..74a024f760 100644 --- a/camel/providers/imap/camel-imap-summary.c +++ b/camel/providers/imap/camel-imap-summary.c @@ -169,11 +169,15 @@ message_info_load (CamelFolderSummary *s, FILE *in) CamelImapMessageInfo *iinfo; info = camel_imap_summary_parent->message_info_load (s, in); - if (!info) + if (!info) { + g_warning ("eek! encountered a NULL message info!"); return NULL; + } iinfo = (CamelImapMessageInfo *)info; if (camel_folder_summary_decode_uint32 (in, &iinfo->server_flags) == -1) { + /* wouldn't it just be better to default to certain server flags here? */ + g_warning ("eek! problems decoding server flags!"); camel_folder_summary_info_free (s, info); return NULL; } |