fix compile error on Windows

This commit is contained in:
Benjamin Peterson 2008-08-02 03:11:16 +00:00
parent 80790287ab
commit 8df0e4ffc3
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ conn_recv_string(ConnectionObject *conn, char *buffer,
memcpy(*newbuffer, buffer, length);
Py_BEGIN_ALLOW_THREADS
ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL)
ret = ReadFile(conn->handle, *newbuffer+length, left, &length, NULL);
Py_END_ALLOW_THREADS
if (ret) {
assert(length == left);