From a71e3b8b33647904aaf938379c531e7f5cc12625 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 23 Oct 2001 20:43:57 +0000 Subject: [PATCH] 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 --- server/protocol.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) -- 2.40.0