From 63657bf3ebc07d1ea9f26cfebb5fadc93d952b84 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 27 Dec 2010 09:56:23 -0500 Subject: Bug 637482 - Flushing outbox gives up on first error --- mail/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail') 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; -- cgit