aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-12-27 22:56:23 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:14 +0800
commit63657bf3ebc07d1ea9f26cfebb5fadc93d952b84 (patch)
treeddf19260362275ba1fee2ead147f21b88c36ea1e
parentfdf1c024b57e28f8cdee3f3590f008bd1d5ee9bd (diff)
downloadgsoc2013-evolution-63657bf3ebc07d1ea9f26cfebb5fadc93d952b84.tar.gz
gsoc2013-evolution-63657bf3ebc07d1ea9f26cfebb5fadc93d952b84.tar.zst
gsoc2013-evolution-63657bf3ebc07d1ea9f26cfebb5fadc93d952b84.zip
Bug 637482 - Flushing outbox gives up on first error
-rw-r--r--mail/mail-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 0be719be54..86cdd88681 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -792,7 +792,7 @@ send_queue_exec (struct _send_queue_msg *m,
m, m->queue, send_uids->pdata[i], m->destination,
m->driver, cancellable, &local_error);
if (local_error != NULL) {
- if (g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
+ if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
/* merge exceptions into one */
if (m->base.error != NULL) {
gchar *old_message;