aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-09-11 18:29:33 +0800
committerMilan Crha <mcrha@redhat.com>2012-09-11 18:29:33 +0800
commit32550418d55fb83fd98eacad4d9992314f691530 (patch)
tree720ac66c66de11b1711e7ded8d628364ea8057c6 /libemail-engine
parentca8610aac84bca44dfc457b0b38dda0622fccba8 (diff)
downloadgsoc2013-evolution-32550418d55fb83fd98eacad4d9992314f691530.tar.gz
gsoc2013-evolution-32550418d55fb83fd98eacad4d9992314f691530.tar.zst
gsoc2013-evolution-32550418d55fb83fd98eacad4d9992314f691530.zip
Bug #678806 - Flush Outbox doesn't remove sent messages
Diffstat (limited to 'libemail-engine')
-rw-r--r--libemail-engine/mail-ops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libemail-engine/mail-ops.c b/libemail-engine/mail-ops.c
index 0f1ca47f07..2cc7a6ff56 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 */