diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-30 02:51:03 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-30 02:51:03 +0800 |
commit | f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3 (patch) | |
tree | 2786112afd57d2f34cc15c6220d3cdea03edc13e /camel/providers | |
parent | cb53a660286f2d98572d137daf6d096bc825f476 (diff) | |
download | gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.tar gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.tar.gz gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.tar.bz2 gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.tar.lz gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.tar.xz gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.tar.zst gsoc2013-evolution-f0bcf06559405a3de5271f4aeb3472c8a2b7aeb3.zip |
imap_expunge should now give more meaningful errors
svn path=/trunk/; revision=3798
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 6ab0fff9df..602d0bc8b0 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -349,13 +349,13 @@ imap_expunge (CamelFolder *folder, CamelException *ex) camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, "Could not EXPUNGE from IMAP server %s: %s.", service->url->host, - status == CAMEL_IMAP_ERR ? result : + status == CAMEL_IMAP_ERR && result ? result : "Unknown error"); g_free (result); return; } - g_free(result); + g_free (result); } #if 0 |