Sat, 21 Jan 2006 02:00:54 +0000
[gaim-migrate @ 15330]
Maybe avoid a crash in an otherwise already bad situation. Yeah, the debug
message sucks, but so does what causes it, and no-one should be hitting
this anyway.
| src/proxy.c | file | annotate | diff | comparison | revisions |
--- a/src/proxy.c Sat Jan 21 01:59:07 2006 +0000 +++ b/src/proxy.c Sat Jan 21 02:00:54 2006 +0000 @@ -735,6 +735,11 @@ } req = gaim_dns_new_resolverthread(show_debug); + if (req == NULL) + { + gaim_debug_error("proxy", "oh dear, this is going to explode, I give up\n"); + return -1; + } send_dns_request_to_child(req, &dns_params); }