From 8df0e4ffc384534be349c4fbb361e9e9a06a8d0b Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 2 Aug 2008 03:11:16 +0000 Subject: [PATCH] fix compile error on Windows --- Modules/_multiprocessing/pipe_connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_multiprocessing/pipe_connection.c b/Modules/_multiprocessing/pipe_connection.c index d655c50aa49..ad16fc89d31 100644 --- a/Modules/_multiprocessing/pipe_connection.c +++ b/Modules/_multiprocessing/pipe_connection.c @@ -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);