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



commit fb2c8a0929c0d25410fb4e1435120fb3cc15cab9
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jun 12 18:58:42 2012 +0200

    Bug #677841 - Workaround for crash in imapx_command_append_message_done()

 camel/providers/imapx/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index f5d08d9..f3cfe44 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -3548,7 +3548,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]