Commit 05d62900 authored by Denis Bilenko's avatar Denis Bilenko

fix typo in getaddrinfo_handler introduced in previos patch 1631:24a93f7798c7

parent 9ae602e6
......@@ -293,10 +293,10 @@ cdef void __getaddrinfo_handler(int code, levent.evutil_addrinfo* res, void* c_p
if code == levent.EVUTIL_EAI_CANCEL:
return
if request is not None and not request._ptr:
return
request.detach()
if request is not None:
if not request.ptr:
return
request.detach()
if code:
callback(None, gaierror(code, get_gaierror(code)), arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment