aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
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 /mail/importers
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
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/evolution-mbox-importer.c5
1 files changed, 3 insertions, 2 deletions
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);
}