Skip to content

Commit

Permalink
Restore accidentally deleted line.
Browse files Browse the repository at this point in the history
  • Loading branch information
csabella committed Oct 23, 2017
1 parent 5cf13d3 commit c00768c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/socketmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2787,6 +2787,7 @@ sock_bind(PySocketSockObject *s, PyObject *addro)

if (!getsockaddrarg(s, addro, SAS2SA(&addrbuf), &addrlen))
return NULL;
Py_BEGIN_ALLOW_THREADS
res = bind(s->sock_fd, SAS2SA(&addrbuf), addrlen);
Py_END_ALLOW_THREADS
if (res < 0)
Expand Down

0 comments on commit c00768c

Please sign in to comment.