aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--importers/ChangeLog5
-rw-r--r--importers/netscape-importer.c7
2 files changed, 12 insertions, 0 deletions
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 <iain@ximian.com>
+
+ * netscape-importer.c (netscape_import_accounts): Handle the case when
+ the transport is set to nothing.
+
2001-09-14 Iain Holmes <iain@ximian.com>
* 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 */