aboutsummaryrefslogtreecommitdiffstats
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
parentc4ba7bcb2814f9110592e7ede534ec52943b0f9f (diff)
downloadgsoc2013-evolution-85f2509163286084a6d28422d8b15f9d3fce12cf.tar.gz
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
-rw-r--r--plugins/groupwise-features/ChangeLog6
-rw-r--r--plugins/groupwise-features/proxy.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index ff69e7f4db..6d93f95b69 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2005-10-07 Vivek Jain <jvivek@novell.com>
* share-folder.c : (remove_clicked)
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);