summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file_io/unix/readwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/readwrite.c b/file_io/unix/readwrite.c
index c0e3f520f..541ab587a 100644
--- a/file_io/unix/readwrite.c
+++ b/file_io/unix/readwrite.c
@@ -231,7 +231,7 @@ APR_DECLARE(apr_status_t) apr_file_writev(apr_file_t *thefile, const struct iove
if (thefile->buffered) {
file_lock(thefile);
- apr_status_t rv = apr_file_flush_locked(thefile);
+ rv = apr_file_flush_locked(thefile);
if (rv != APR_SUCCESS) {
file_unlock(thefile);
return rv;