1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-30 20:03:10 +03:00

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
This commit is contained in:
Jeff Trawick
2013-11-15 22:03:16 +00:00
parent a26a8b2c68
commit 30f8aa6460
6 changed files with 15 additions and 21 deletions

View File

@ -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 */