evolution-data-server r8355 - trunk/camel



Author: sragavan
Date: Fri Jan 11 21:26:22 2008
New Revision: 8355
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8355&view=rev

Log:
2008-01-12  Srinivasa Ragavan  <sragavan novell com>

	** Fix for bug #500233 

	* camel-url.c: (camel_url_new): Handle empty strings.


Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-url.c

Modified: trunk/camel/camel-url.c
==============================================================================
--- trunk/camel/camel-url.c	(original)
+++ trunk/camel/camel-url.c	Fri Jan 11 21:26:22 2008
@@ -303,6 +303,7 @@
 	CamelURL *url;
 
 	g_return_val_if_fail (url_string != NULL, NULL);
+	g_return_val_if_fail (*url_string != 0, NULL);
 
 	url = camel_url_new_with_base (NULL, url_string);
 



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