From 1fd58574ff6709cf0cb0c9ecc2d0aac32e40c0fb Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 1 Oct 2002 16:31:23 +0000 Subject: [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 --- mail/ChangeLog | 10 ++++++++++ mail/importers/evolution-mbox-importer.c | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'mail') 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 + + [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 * 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); } -- cgit v1.2.3