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
This commit is contained in:
Jeffrey Stedfast
2004-11-12 20:51:57 +00:00
committed by Jeffrey Stedfast
parent ae7b8c3242
commit bd39db6ddf
2 changed files with 6 additions and 0 deletions

View File

@ -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).

View File

@ -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;