# HG changeset patch # User Stu Tomlinson # Date 1137808854 0 # Node ID 36930e2a461e41ede8a870416e6ed7a66f519b40 # Parent 0a5b485769139a16039e426d321f0ab8dd19b337 [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. committer: Tailor Script diff -r 0a5b48576913 -r 36930e2a461e src/proxy.c --- 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); }