diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-08-11 02:16:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-08-11 02:16:47 +0800 |
commit | 7bad37e711be4c31e8880f28f067f046ac40aa33 (patch) | |
tree | c223a6122c0f83529a5e720e3f5001d9a39b49a1 /camel/providers | |
parent | 45f6b55148a6e393fa349c11e5c01efa1093c5ac (diff) | |
download | gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.tar gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.tar.gz gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.tar.bz2 gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.tar.lz gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.tar.xz gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.tar.zst gsoc2013-evolution-7bad37e711be4c31e8880f28f067f046ac40aa33.zip |
Set the total bytes expected to 0 if the response is empty too.
2001-08-10 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-folder.c (pop3_get_message_stream):
Set the total bytes expected to 0 if the response is empty too.
(pop3_refresh_info): Return of there was an error generating pop3
uids.
svn path=/trunk/; revision=11886
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/pop3/camel-pop3-folder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c index 8258114585..bb6b0f9171 100644 --- a/camel/providers/pop3/camel-pop3-folder.c +++ b/camel/providers/pop3/camel-pop3-folder.c @@ -222,12 +222,13 @@ pop3_refresh_info (CamelFolder *folder, CamelException *ex) if (pop3_store->supports_uidl == FALSE) { uids = pop3_generate_uids (folder, count, ex); - camel_operation_end (NULL); + if (!uids || camel_exception_is_set (ex)) + return; } else { data = camel_pop3_command_get_additional_data (pop3_store, 0, ex); - camel_operation_end(NULL); - if (camel_exception_is_set (ex)) + camel_operation_end (NULL); + if (!data || camel_exception_is_set (ex)) return; uids = parse_listing (count, data); |