diff options
author | Jeff Trawick <trawick@apache.org> | 2013-11-15 23:03:16 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2013-11-15 23:03:16 +0100 |
commit | 30f8aa646039547fadf1c556b4ad43d6595eaa3f (patch) | |
tree | 30b8e64e920b47b91c8ea2a8c5b3d1ba37ca1f79 /modules/debugging | |
parent | Follow-up to r1540161: (diff) | |
download | apache2-30f8aa646039547fadf1c556b4ad43d6595eaa3f.tar.xz apache2-30f8aa646039547fadf1c556b4ad43d6595eaa3f.zip |
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 'modules/debugging')
-rw-r--r-- | modules/debugging/mod_firehose.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/debugging/mod_firehose.c b/modules/debugging/mod_firehose.c index 7400601f8a..a9a63303ca 100644 --- a/modules/debugging/mod_firehose.c +++ b/modules/debugging/mod_firehose.c @@ -127,7 +127,6 @@ static apr_status_t pumpit_cleanup(void *dummy) apr_status_t rv; apr_size_t hdr_len; char header[HEADER_LEN + 1]; - apr_size_t bytes; if (!ctx->count) { return APR_SUCCESS; @@ -138,7 +137,7 @@ static apr_status_t pumpit_cleanup(void *dummy) ctx->uuid, ctx->count); ap_xlate_proto_to_ascii(header, hdr_len); - rv = apr_file_write_full(ctx->conn->file, header, hdr_len, &bytes); + rv = apr_file_write_full(ctx->conn->file, header, hdr_len, NULL); if (APR_SUCCESS != rv) { if (ctx->conn->suppress) { /* ignore the error */ |