summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbojan <bojan@13f79535-47bb-0310-9956-ffa450edef68>2007-05-15 21:06:27 +0000
committerbojan <bojan@13f79535-47bb-0310-9956-ffa450edef68>2007-05-15 21:06:27 +0000
commit62170bd0738434ae8a3f28f085ad027a974e8e58 (patch)
treeb227e3d0e3e51a0b86bf31f90036aa4f3e697e6c
parentfea5c5f5055ec5baadf6090ad13e5ade0437b8e4 (diff)
downloadlibapr-62170bd0738434ae8a3f28f085ad027a974e8e58.tar.gz
Backport r538262 from 1.2.x branch.
Remove a C++ style declaration. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@538319 13f79535-47bb-0310-9956-ffa450edef68
-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;