aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-11-13 04:51:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-11-13 04:51:57 +0800
commitbd39db6ddffe07d00d4a04f18c9b5dfc2abeee42 (patch)
tree3df2206841907901a8f1331c568397bf7d2382db /camel
parentae7b8c3242c45fe5ab51bbd1e948a4161b5092c0 (diff)
downloadgsoc2013-evolution-bd39db6ddffe07d00d4a04f18c9b5dfc2abeee42.tar.gz
gsoc2013-evolution-bd39db6ddffe07d00d4a04f18c9b5dfc2abeee42.tar.zst
gsoc2013-evolution-bd39db6ddffe07d00d4a04f18c9b5dfc2abeee42.zip
Init appended_uid value to NULL
2004-11-12 Jeffrey Stedfast <fejj@novell.com> * providers/imap4/camel-imap4-folder.c (imap4_append_message): Init appended_uid value to NULL svn path=/trunk/; revision=27907
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/providers/imap4/camel-imap4-folder.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 3343c96247..77164682e5 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2004-11-12 Jeffrey Stedfast <fejj@novell.com>
+ * providers/imap4/camel-imap4-folder.c (imap4_append_message):
+ Init appended_uid value to NULL
+
* providers/imap4/camel-imap4-engine.c (engine_parse_namespace):
Properly handle NILs for the namespace separator (somehow I missed
this, silly me).
diff --git a/camel/providers/imap4/camel-imap4-folder.c b/camel/providers/imap4/camel-imap4-folder.c
index 921d7aa2ed..9326dd418f 100644
--- a/camel/providers/imap4/camel-imap4-folder.c
+++ b/camel/providers/imap4/camel-imap4-folder.c
@@ -866,6 +866,9 @@ imap4_append_message (CamelFolder *folder, CamelMimeMessage *message,
struct tm tm;
int id, i;
+ if (appended_uid)
+ *appended_uid = NULL;
+
if (!camel_session_is_online (session)) {
camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot append messages to IMAP folders in offline mode."));
return;