aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/groupwise-account-setup/ChangeLog6
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog
index db7c8029a3..fc7088feeb 100644
--- a/plugins/groupwise-account-setup/ChangeLog
+++ b/plugins/groupwise-account-setup/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-09 Parthasarathi Susarla <sparthasarathi@novell.com>
+
+ * camel-gw-listener.c (get_addressbook_names_from_server):
+ check if string (eg. use_ssl) are NULL before strcmp().
+ prevents a violation.
+
2005-09-28 Sushma Rai <rsushma@novell.com>
* camel-gw-listener.c (add_addressbook_sources): Removed name
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index 58122ff7b4..df721da739 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -448,6 +448,8 @@ get_addressbook_names_from_server (char *source_url)
if (!soap_port || strlen (soap_port) == 0)
soap_port = "7191";
use_ssl = camel_url_get_param (url, "use_ssl");
+ if (!use_ssl)
+ use_ssl = "";
key = g_strdup_printf ("groupwise://%s@%s/", url->user, poa_address);