]> granicus.if.org Git - apache/commitdiff
don't lose the return code from ap_fwrite() when called from buffer_output()
authorJeff Trawick <trawick@apache.org>
Tue, 23 Oct 2001 20:43:57 +0000 (20:43 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 23 Oct 2001 20:43:57 +0000 (20:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91649 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 9aebceb5cb7d24937a5a56e2290c5322e700b9db..92778d6d3cdc0d3141ad0531d147c36274450ba5 100644 (file)
@@ -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)