]> granicus.if.org Git - apache/commitdiff
no declarations after statements.
authorGuenter Knauf <fuankg@apache.org>
Sun, 4 Oct 2009 20:18:51 +0000 (20:18 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sun, 4 Oct 2009 20:18:51 +0000 (20:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821599 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 20ff6a6e389db0190bad47b9110172b187af5055..1697a7d9fddda9138138175abceef2fb64278e9c 100644 (file)
@@ -1302,8 +1302,9 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter(
                  * do a blocking read on the next batch.
                  */
                 if (e != APR_BRIGADE_FIRST(b)) {
+                    apr_bucket *flush;
                     apr_brigade_split_ex(b, e, ctx->tmpbb);
-                    apr_bucket *flush = apr_bucket_flush_create(r->connection->bucket_alloc);
+                    flush = apr_bucket_flush_create(r->connection->bucket_alloc);
 
                     APR_BRIGADE_INSERT_TAIL(b, flush);
                     rv = ap_pass_brigade(f->next, b);