[evolution] Bug #633158 - Importer stops after single mail import



commit ac88bbdab103d8f70f9273fd6654039279c26b91
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 27 11:32:19 2010 +0200

    Bug #633158 - Importer stops after single mail import

 mail/importers/mail-importer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index 7eaed47..4654956 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -186,7 +186,7 @@ import_mbox_exec (struct _import_mbox_msg *m,
 			camel_message_info_free (info);
 			g_object_unref (msg);
 
-			if (error != NULL)
+			if (error && *error != NULL)
 				break;
 
 			camel_mime_parser_step (mp, NULL, NULL);



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