From 33e37fae702232c6ba91ede05dae7af999925547 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 25 Sep 2001 18:30:47 +0000 Subject: Handle the case when the transport is nothing. svn path=/trunk/; revision=13114 --- importers/ChangeLog | 5 +++++ importers/netscape-importer.c | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/importers/ChangeLog b/importers/ChangeLog index 166b2734bb..b1a3b75276 100644 --- a/importers/ChangeLog +++ b/importers/ChangeLog @@ -1,3 +1,8 @@ +2001-09-25 Iain Holmes + + * netscape-importer.c (netscape_import_accounts): Handle the case when + the transport is set to nothing. + 2001-09-14 Iain Holmes * pine-importer.c (import_addressfile): Rewrite. diff --git a/importers/netscape-importer.c b/importers/netscape-importer.c index 71e5af15db..79fa5edfaf 100644 --- a/importers/netscape-importer.c +++ b/importers/netscape-importer.c @@ -409,6 +409,13 @@ netscape_import_accounts (NetscapeImporter *importer) transport.save_passwd = FALSE; transport.enabled = TRUE; g_free (url); + } else { + transport.url = CORBA_string_dup (""); + transport.keep_on_server = FALSE; + transport.auto_check = FALSE; + transport.auto_check_time = 0; + transport.save_passwd = FALSE; + transport.enabled = FALSE; } /* Create account */ -- cgit v1.2.3