From 85f2509163286084a6d28422d8b15f9d3fce12cf Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Fri, 14 Oct 2005 08:14:19 +0000 Subject: "use_ssl" should be Null checked before comparing it with any value. its 2005-10-14 Vivek Jain * 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 --- plugins/groupwise-features/ChangeLog | 6 ++++++ plugins/groupwise-features/proxy.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins') 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 + + * 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 * 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); -- cgit