# HG changeset patch # User Tim Ringenbach # Date 1086849806 0 # Node ID 15d516d07d57e36f89208a3cba7e86f988458cc0 # Parent 848aeb69250d9c0d18bd14dd08da6a4a113e9841 [gaim-migrate @ 10056] passing null here crashed on windows. I also moved some g_returns up before the debug statement. committer: Tailor Script diff -r 848aeb69250d -r 15d516d07d57 src/util.c --- 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);