Assert url_string != NULL.
2001-03-01 Peter Williams <peterw@ximian.com> * camel-url.c (camel_url_new): Assert url_string != NULL. svn path=/trunk/; revision=8439
This commit is contained in:
committed by
Peter Williams
parent
f01589262c
commit
9f072e4e81
@ -1,3 +1,7 @@
|
||||
2001-03-01 Peter Williams <peterw@ximian.com>
|
||||
|
||||
* camel-url.c (camel_url_new): Assert url_string != NULL.
|
||||
|
||||
2001-02-28 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* Makefile.am: Added camel-sasl-anonymous.[c,h] to the build.
|
||||
|
||||
@ -67,7 +67,9 @@ camel_url_new (const char *url_string, CamelException *ex)
|
||||
CamelURL *url;
|
||||
char *semi, *colon, *at, *slash;
|
||||
char *p;
|
||||
|
||||
|
||||
g_assert (url_string);
|
||||
|
||||
/* Find protocol: initial substring until ":" */
|
||||
colon = strchr (url_string, ':');
|
||||
if (!colon) {
|
||||
|
||||
Reference in New Issue
Block a user