aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-url.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 91ce80080b..0179cf917a 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -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.
diff --git a/camel/camel-url.c b/camel/camel-url.c
index 337243bb55..9de03dba1e 100644
--- a/camel/camel-url.c
+++ b/camel/camel-url.c
@@ -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) {