aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/proxy.c
diff options
context:
space:
mode:
authorVivek Jain <jvivek@novell.com>2005-10-14 16:14:19 +0800
committerJain Vivek <jvivek@src.gnome.org>2005-10-14 16:14:19 +0800
commit85f2509163286084a6d28422d8b15f9d3fce12cf (patch)
tree99796b8551a07b5a9ddae353ecb1bc597818b593 /plugins/groupwise-features/proxy.c
parentc4ba7bcb2814f9110592e7ede534ec52943b0f9f (diff)
downloadgsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar
gsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar.gz
gsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar.bz2
gsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar.lz
gsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar.xz
gsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar.zst
gsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.zip
"use_ssl" should be Null checked before comparing it with any value. its
2005-10-14 Vivek Jain <jvivek@novell.com> * proxy.c :(proxy_get_cnc) "use_ssl" should be Null checked before comparing it with any value. its NULL when evo is not compiled with ssl support and caused crash. svn path=/trunk/; revision=30505
Diffstat (limited to 'plugins/groupwise-features/proxy.c')
-rw-r--r--plugins/groupwise-features/proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index e3d68ab608..db16d4f502 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -486,7 +486,7 @@ proxy_get_cnc (EAccount *account)
key = g_strdup_printf ("groupwise://%s@%s/", url->user, poa_address);
- if (!g_str_equal (use_ssl, "never"))
+ if (use_ssl && !g_str_equal (use_ssl, "never"))
uri = g_strdup_printf ("https://%s:%s/soap", poa_address, soap_port);
else
uri = g_strdup_printf ("http://%s:%s/soap", poa_address, soap_port);