summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-05-07 18:04:13 +0000
committerJeff Trawick <trawick@apache.org>2001-05-07 18:04:13 +0000
commit8f238b29acd3440be27bd4174e63b5f0e9d29424 (patch)
tree5cc8b1ed9c145d50d28010339de4a7fc7c8daba3 /file_io
parentcca44bc1b47238fd8b62620af9a86c93ca47b09d (diff)
downloadapr-8f238b29acd3440be27bd4174e63b5f0e9d29424.tar.gz
fix a comment regarding APR_EOF and file I/O;
use APR_SUCCESS instead of 0 in apr_file_read() for Win32 Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61590 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/win32/readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/readwrite.c b/file_io/win32/readwrite.c
index 124aea6aa..46275a96c 100644
--- a/file_io/win32/readwrite.c
+++ b/file_io/win32/readwrite.c
@@ -209,7 +209,7 @@ APR_DECLARE(apr_status_t) apr_file_read(apr_file_t *thefile, void *buf, apr_size
*len = pos - (char *)buf;
if (*len) {
- rv = 0;
+ rv = APR_SUCCESS;
}
apr_lock_release(thefile->mutex);
} else {