Mercurial > pidgin.yaz
changeset 9257:15d516d07d57
[gaim-migrate @ 10056]
passing null here crashed on windows.
I also moved some g_returns up before the debug statement.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Thu, 10 Jun 2004 06:43:26 +0000 |
parents | 848aeb69250d |
children | 43323228a3da |
files | src/util.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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);