diff options
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/importers/evolution-mbox-importer.c | 5 |
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); } |