[evolution-patches] [Fwd: fixed a crash [groupwise]]



--- Begin Message ---
have attached the file which fixes the crash during
selection/deselection of groupwise account.


	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-account-setup/ChangeLog,v
retrieving revision 1.11
diff -u -p -r1.11 ChangeLog
--- ChangeLog	1 Mar 2005 06:17:19 -0000	1.11
+++ ChangeLog	2 Mar 2005 13:07:57 -0000
@@ -1,3 +1,10 @@
+2005-03-02  Vivek <vivek_7614 rediffmail com>
+	    Dharshini B.S. <dharshini_bs yahoo com>
+
+	* camel-gw-listener.c: check use_ssl before passing it to g_str_equal().
+	Solves a crash.
+
+	
 2005-02-23  JP Rosevear  <jpr novell com>
 
 	* org-gnome-gw-account-setup.eplug.in: add account wizard item
Index: camel-gw-listener.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/groupwise-account-setup/camel-gw-listener.c,v
retrieving revision 1.29
diff -u -p -r1.29 camel-gw-listener.c
--- camel-gw-listener.c	23 Feb 2005 18:56:58 -0000	1.29
+++ camel-gw-listener.c	2 Mar 2005 13:07:58 -0000
@@ -449,8 +449,9 @@ get_addressbook_names_from_server (char 
 	use_ssl = camel_url_get_param (url, "use_ssl");
 
 	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);

--- End Message ---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]