aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
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;