imap_expunge should now give more meaningful errors

svn path=/trunk/; revision=3798
This commit is contained in:
Jeffrey Stedfast
2000-06-29 18:51:03 +00:00
parent cb53a66028
commit f0bcf06559
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-06-29 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (imap_expunge): Should now
print a meaningful error message when it doesn't succeed
2000-06-28 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-store.c (imap_connect): Changed to

View File

@ -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