[evolution-data-server] Bug #677841 - Workaround for crash in imapx_command_append_message_done()



commit f08d0a36f5a5319a65f367276aeeb3511f135912
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jun 12 18:57:21 2012 +0200

    Bug #677841 - Workaround for crash in imapx_command_append_message_done()

 camel/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 65a15b6..1bde53f 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -3554,7 +3554,7 @@ imapx_command_append_message_done (CamelIMAPXServer *is,
 			_("Error appending message"));
 		success = FALSE;
 
-	} else if (ic->status->condition == IMAPX_APPENDUID) {
+	} else if (ic->status && ic->status->condition == IMAPX_APPENDUID) {
 		c(is->tagprefix, "Got appenduid %d %d\n", (gint)ic->status->u.appenduid.uidvalidity, (gint)ic->status->u.appenduid.uid);
 		if (ic->status->u.appenduid.uidvalidity == ifolder->uidvalidity_on_server) {
 			CamelFolderChangeInfo *changes;



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