src/util.c

changeset 9257
878debfe3137
parent 9241
c10e113f7112
child 9273
cfbcd961bf6b
--- a/src/util.c	Thu Jun 10 06:10:58 2004 +0000
+++ b/src/util.c	Thu Jun 10 06:43:26 2004 +0000
@@ -2764,12 +2764,12 @@
 	int sock;
 	GaimFetchUrlData *gfud;
 
+	g_return_if_fail(url != NULL);
+	g_return_if_fail(cb  != NULL);
+	
 	gaim_debug_info("gaim_url_fetch",
 			 "requested to fetch (%s), full=%d, user_agent=(%s), http11=%d\n",
-			 url, full, user_agent, http11);
-
-	g_return_if_fail(url != NULL);
-	g_return_if_fail(cb  != NULL);
+			 url, full, user_agent?user_agent:"(null)", http11);
 
 	gfud = g_new0(GaimFetchUrlData, 1);
 

mercurial