aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-12-27 22:56:23 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-12-27 22:56:23 +0800
commit72f1d12bda5990a872cc3f1c087be58a4e05cd1a (patch)
treef1fc195bbe0bf4ff3181eb7fbb15e2305b5f1a11 /mail/mail-ops.c
parent59928e69ed7b769585282ae2b11bca1a9e9a1ca9 (diff)
downloadgsoc2013-evolution-72f1d12bda5990a872cc3f1c087be58a4e05cd1a.tar.gz
gsoc2013-evolution-72f1d12bda5990a872cc3f1c087be58a4e05cd1a.tar.zst
gsoc2013-evolution-72f1d12bda5990a872cc3f1c087be58a4e05cd1a.zip
Bug 637482 - Flushing outbox gives up on first error
Diffstat (limited to 'mail/mail-ops.c')
-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;