Commit 61e7878f authored by Denis Bilenko's avatar Denis Bilenko

core.pyx: minor change

parent b013a7ef
......@@ -278,7 +278,7 @@ cdef class evdns_base:
cdef void __getaddrinfo_handler(int code, levent.evutil_addrinfo* res, void* c_param):
cdef object callback
cdef object arg
cdef object request = None
cdef object request
cdef object param = <object>c_param
Py_DECREF(param)
cdef list result
......@@ -286,6 +286,7 @@ cdef void __getaddrinfo_handler(int code, levent.evutil_addrinfo* res, void* c_p
try:
if len(param) == 2:
callback, arg = param
request = None
else:
callback, arg, request = param
......
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