aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-url.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-url.c')
-rw-r--r--camel/camel-url.c4
1 files changed, 3 insertions, 1 deletions
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) {