]> granicus.if.org Git - libevent/commit
If no evdns request can be launched, return NULL, not a handle
authorNick Mathewson <nickm@torproject.org>
Tue, 18 May 2010 21:27:06 +0000 (17:27 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 18 May 2010 21:27:06 +0000 (17:27 -0400)
commitb14f151b42ca9fddd52bee7c323e1217b28ae8af
tree5e811d2e961259e6f2d7cf47e2d50274d755a314
parentd14bb926b42a91a1ac48c10b41cfe3a96e8408b9
If no evdns request can be launched, return NULL, not a handle

Some of our evdns code was willing to return an evdns_request with
handle->current_req set to NULL.  Really, those cases should just
return NULL.
evdns.c