diff options
author | Jeff Trawick <trawick@apache.org> | 2001-05-07 18:04:13 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2001-05-07 18:04:13 +0000 |
commit | 8f238b29acd3440be27bd4174e63b5f0e9d29424 (patch) | |
tree | 5cc8b1ed9c145d50d28010339de4a7fc7c8daba3 /file_io | |
parent | cca44bc1b47238fd8b62620af9a86c93ca47b09d (diff) | |
download | apr-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.c | 2 |
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 { |