From 781b4dc05b6fbf4fff3c44fdc925722cf8dfacc9 Mon Sep 17 00:00:00 2001 From: wrowe Date: Thu, 6 Apr 2006 11:17:48 +0000 Subject: Undo error in commit 381936, missed one case of *nbytes assignment. More completely corrected in 388281, which is why I hadn't dwelled on the current state of this messed up code. Fixes mod_cgi but this doesn't address all of the other edge cases already fixed on trunk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@391967 13f79535-47bb-0310-9956-ffa450edef68 --- file_io/win32/readwrite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file_io/win32/readwrite.c b/file_io/win32/readwrite.c index 3908e8319..b3746fadc 100644 --- a/file_io/win32/readwrite.c +++ b/file_io/win32/readwrite.c @@ -92,6 +92,7 @@ static apr_status_t read_with_timeout(apr_file_t *file, void *buf, apr_size_t le case WAIT_OBJECT_0: GetOverlappedResult(file->filehand, file->pOverlapped, &bytesread, TRUE); + *nbytes = bytesread; rv = APR_SUCCESS; break; -- cgit v1.2.1