This commit is contained in:
Kovid Goyal 2020-10-15 20:32:00 +05:30
parent 2a1b05dc05
commit 40de844650
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -711,7 +711,7 @@ connect_named_pipe(PyObject *self, PyObject *args) {
if (!PyArg_ParseTuple(args, "O&", convert_handle, &handle)) return NULL;
BOOL ok;
Py_BEGIN_ALLOW_THREADS;
ok = ConnectNamedPipe(handle, NULL)
ok = ConnectNamedPipe(handle, NULL);
Py_END_ALLOW_THREADS;
if (!ok) return set_error_from_handle(args);
Py_RETURN_NONE;