aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-07-23 10:35:21 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-07-23 10:35:21 +0800
commit833bb47399de0d0509da1cf4fa0b993702c39e87 (patch)
tree64f50a868cb59b311b696d13ea59d85f0a7ffd1b /camel/providers/local
parent97cc1d57adcdefb5b63a704f42f692e3cffb4014 (diff)
downloadgsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.tar
gsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.tar.gz
gsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.tar.bz2
gsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.tar.lz
gsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.tar.xz
gsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.tar.zst
gsoc2013-evolution-833bb47399de0d0509da1cf4fa0b993702c39e87.zip
Added some operation progress reporting. Actual data transfer is 'tricky'
2001-07-23 Not Zed <NotZed@Ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_auth, smtp_helo, send_to): Added some operation progress reporting. Actual data transfer is 'tricky' because of the layers used. (smtp_auth): Instead of checking exception_is_set, use challenge==NULL to test if sasl_challenge_base64 failed. * providers/local/camel-mbox-summary.c (mbox_summary_sync): Remove peters changes below and put in a better fix. These functions already return -1 on error, just use that, and not worry about building our own exception redundantly. * camel-service.c (camel_get_host_byname): Turn the progress into a transient event. svn path=/trunk/; revision=11301
Diffstat (limited to 'camel/providers/local')
-rw-r--r--camel/providers/local/camel-mbox-summary.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/camel/providers/local/camel-mbox-summary.c b/camel/providers/local/camel-mbox-summary.c
index 8a61d63ed1..5f9ca6941d 100644
--- a/camel/providers/local/camel-mbox-summary.c
+++ b/camel/providers/local/camel-mbox-summary.c
@@ -829,7 +829,6 @@ static int
mbox_summary_sync(CamelLocalSummary *cls, gboolean expunge, CamelFolderChangeInfo *changeinfo, CamelException *ex)
{
struct stat st;
- CamelException internal_ex;
CamelMboxSummary *mbs = (CamelMboxSummary *)cls;
CamelFolderSummary *s = (CamelFolderSummary *)cls;
int i, count;
@@ -837,12 +836,8 @@ mbox_summary_sync(CamelLocalSummary *cls, gboolean expunge, CamelFolderChangeInf
int ret;
/* first, sync ourselves up, just to make sure */
- camel_exception_init (&internal_ex);
- summary_update(cls, mbs->folder_size, changeinfo, &internal_ex);
- if (camel_exception_is_set(&internal_ex)) {
- camel_exception_xfer (ex, &internal_ex);
+ if (summary_update(cls, mbs->folder_size, changeinfo, ex) == -1)
return -1;
- }
count = camel_folder_summary_count(s);
if (count == 0)