[evolution] Bug 637482 - Flushing outbox gives up on first error



commit 72f1d12bda5990a872cc3f1c087be58a4e05cd1a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Dec 27 09:56:23 2010 -0500

    Bug 637482 - Flushing outbox gives up on first error

 mail/mail-ops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 0be719b..86cdd88 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]