From: Jeff Trawick Date: Tue, 23 Oct 2001 20:43:57 +0000 (+0000) Subject: don't lose the return code from ap_fwrite() when called from buffer_output() X-Git-Tag: 2.0.27~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a71e3b8b33647904aaf938379c531e7f5cc12625;p=apache don't lose the return code from ap_fwrite() when called from buffer_output() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91649 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index 9aebceb5cb..92778d6d3c 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1087,9 +1087,7 @@ static apr_status_t buffer_output(request_rec *r, ctx->bb = apr_brigade_create(r->pool); } - ap_fwrite(f->next, ctx->bb, str, len); - - return APR_SUCCESS; + return ap_fwrite(f->next, ctx->bb, str, len); } AP_DECLARE(int) ap_rputc(int c, request_rec *r)