summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2006-04-06 11:17:48 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2006-04-06 11:17:48 +0000
commit781b4dc05b6fbf4fff3c44fdc925722cf8dfacc9 (patch)
tree77f6dd873409033ed970a0b662589293939df47f
parent934a282c488468a519c2621b8c959e00bc0d2179 (diff)
downloadlibapr-781b4dc05b6fbf4fff3c44fdc925722cf8dfacc9.tar.gz
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
-rw-r--r--file_io/win32/readwrite.c1
1 files changed, 1 insertions, 0 deletions
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;