aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2005-11-09 20:52:52 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2005-11-09 20:52:52 +0800
commit65589f9f8104b6cba31228b6d5fa1363cbb3ee54 (patch)
tree2c2d308156911489636db2597b0b7813a5c3e8d4
parentf52f027f91748c51b2c5ab54a6ec5343869ea0af (diff)
downloadgsoc2013-evolution-65589f9f8104b6cba31228b6d5fa1363cbb3ee54.tar.gz
gsoc2013-evolution-65589f9f8104b6cba31228b6d5fa1363cbb3ee54.tar.zst
gsoc2013-evolution-65589f9f8104b6cba31228b6d5fa1363cbb3ee54.zip
check if string (eg. use_ssl) are NULL before strcmp(). prevents a
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. svn path=/trunk/; revision=30588
-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);