aboutsummaryrefslogtreecommitdiffstats
path: root/importers
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-26 02:30:47 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-26 02:30:47 +0800
commit33e37fae702232c6ba91ede05dae7af999925547 (patch)
tree36593b78e3af24fb92679fda64eda93c5a11a72c /importers
parent1e55e9fec34db654fa9abe82957ad7e855282e13 (diff)
downloadgsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.tar
gsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.tar.gz
gsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.tar.bz2
gsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.tar.lz
gsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.tar.xz
gsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.tar.zst
gsoc2013-evolution-33e37fae702232c6ba91ede05dae7af999925547.zip
Handle the case when the transport is nothing.
svn path=/trunk/; revision=13114
Diffstat (limited to 'importers')
-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 */