[evolution-data-server/gnome-3-6] Bug #669082 - Workaround crash in imapx_command_copy_messages_step_done()



commit 92b736559ea5d2ede02cd6b060e48071ce8b7185
Author: Andreas Kohn <andreas kohn gmail com>
Date:   Wed Nov 7 12:35:51 2012 +0100

    Bug #669082 - Workaround crash in imapx_command_copy_messages_step_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 d3fe0bc..6a9a775 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -4186,7 +4186,7 @@ imapx_command_copy_messages_step_done (CamelIMAPXServer *is,
 	}
 
 	/* TODO copy the summary and cached messages to the new folder. We might need a sorted insert to avoid refreshing the dest folder */
-	if (ic->status->condition == IMAPX_COPYUID) {
+	if (ic->status && ic->status->condition == IMAPX_COPYUID) {
 		gint i;
 
 		for (i = 0; i < ic->status->u.copyuid.copied_uids->len; i++) {



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