From 65589f9f8104b6cba31228b6d5fa1363cbb3ee54 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Wed, 9 Nov 2005 12:52:52 +0000 Subject: check if string (eg. use_ssl) are NULL before strcmp(). prevents a 2005-11-09 Parthasarathi Susarla * 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 --- plugins/groupwise-account-setup/camel-gw-listener.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/groupwise-account-setup/camel-gw-listener.c') 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); -- cgit v1.2.3