[evolution] Bug #678806 - Flush Outbox doesn't remove sent messages



commit 32550418d55fb83fd98eacad4d9992314f691530
Author: Milan Crha <mcrha redhat com>
Date:   Tue Sep 11 12:29:33 2012 +0200

    Bug #678806 - Flush Outbox doesn't remove sent messages

 libemail-engine/mail-ops.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libemail-engine/mail-ops.c b/libemail-engine/mail-ops.c
index 0f1ca47..2cc7a6f 100644
--- a/libemail-engine/mail-ops.c
+++ b/libemail-engine/mail-ops.c
@@ -620,9 +620,11 @@ mail_send_message (struct _send_queue_msg *m,
 		provider = camel_service_get_provider (service);
 
 	if (CAMEL_IS_TRANSPORT (service)) {
+		const gchar *tuid;
+
 		/* Let the dialog know the right account it is using. */
-		uid = camel_service_get_uid (CAMEL_SERVICE (transport));
-		report_status (m, CAMEL_FILTER_STATUS_ACTION, 0, uid);
+		tuid = camel_service_get_uid (CAMEL_SERVICE (transport));
+		report_status (m, CAMEL_FILTER_STATUS_ACTION, 0, tuid);
 	}
 
 	/* Check for email sending */



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