Commit 9e854c4d authored by Denis Bilenko's avatar Denis Bilenko

socket: fix typo and possible NameError in connect_ex: it should be EAGAIN,...

socket: fix typo and possible NameError in connect_ex: it should be EAGAIN, not EGAIN. Patch by Alexey Borzenkov.
parent e577f1a0
......@@ -67,7 +67,7 @@ if is_windows:
from errno import WSAEALREADY as EALREADY
from errno import WSAEISCONN as EISCONN
from gevent.win32util import formatError as strerror
EGAIN = EWOULDBLOCK
EAGAIN = EWOULDBLOCK
else:
from errno import EINVAL
from errno import EWOULDBLOCK
......
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