aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-10-02 00:31:23 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-10-02 00:31:23 +0800
commit1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb (patch)
treec90f7b743fcb3863cf8e844b2017f6607d6228ac
parentba45132d650d5adde1ea0435d0d69cf05b200c18 (diff)
downloadgsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.tar
gsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.tar.gz
gsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.tar.bz2
gsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.tar.lz
gsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.tar.xz
gsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.tar.zst
gsoc2013-evolution-1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb.zip
[Fix #24732]
(process_item_fn): Set deleted to FALSE when not having Mozilla status headers. Before it was being left uninitialized and so there was a pretty good chance that its value would be nonzero and hence the message would not be imported... svn path=/trunk/; revision=18278
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/importers/evolution-mbox-importer.c5
2 files changed, 13 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a5b3f14f67..ab17fc1052 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,13 @@
+2002-10-01 Ettore Perazzoli <ettore@ximian.com>
+
+ [Fix #24732]
+
+ * importers/evolution-mbox-importer.c (process_item_fn): Set
+ deleted to FALSE when not having Mozilla status headers. Before
+ it was being left uninitialized and so there was a pretty good
+ chance that its value would be nonzero and hence the message would
+ not be imported...
+
2002-10-01 Not Zed <NotZed@Ximian.com>
* folder-browser.c (on_cursor_activated): cursor activated on
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index ffa8872fc6..d088723bc9 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -178,10 +178,11 @@ process_item_fn (EvolutionImporter *eimporter,
info = get_info_from_mozilla (mozilla_status, &deleted);
} else {
info = g_new0 (CamelMessageInfo, 1);
+ deleted = FALSE;
}
- if (deleted == FALSE) {
- /* write the mesg */
+ if (! deleted) {
+ /* Write the message. */
camel_folder_append_message (importer->folder, msg, info, NULL, ex);
g_free (info);
}