diff options
author | Jeff Trawick <trawick@apache.org> | 2013-11-15 22:03:16 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2013-11-15 22:03:16 +0000 |
commit | 30f8aa646039547fadf1c556b4ad43d6595eaa3f (patch) | |
tree | 30b8e64e920b47b91c8ea2a8c5b3d1ba37ca1f79 /support/firehose.c | |
parent | a26a8b2c6809ca56982f66824dd21c3eca08cee4 (diff) | |
download | httpd-30f8aa646039547fadf1c556b4ad43d6595eaa3f.tar.gz |
more apr_file_write_full() simplification (like r1542413)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/firehose.c')
-rw-r--r-- | support/firehose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/firehose.c b/support/firehose.c index 08e57db835..b78a9d838b 100644 --- a/support/firehose.c +++ b/support/firehose.c @@ -342,7 +342,7 @@ static apr_status_t process_body(file_rec *file, header_rec *header, if (APR_SUCCESS == (status = apr_file_open(&handle, native, APR_WRITE | APR_CREATE | APR_APPEND, APR_OS_DEFAULT, pool))) { if (APR_SUCCESS != (status = apr_file_write_full(handle, str, len, - &len))) { + NULL))) { apr_file_printf(file->file_err, "Could not write fragment body to file '%s': %pm\n", native, &status); |