]> granicus.if.org Git - apache/commitdiff
Compile Fix for Netware Port with CodeWarrior.
authorPaul Querna <pquerna@apache.org>
Sun, 21 Nov 2004 05:53:38 +0000 (05:53 +0000)
committerPaul Querna <pquerna@apache.org>
Sun, 21 Nov 2004 05:53:38 +0000 (05:53 +0000)
Noticed By: <normw@bocnet.com.au>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106072 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 5e21ccab6144081dfc76e5cb12506e1db2a80c9a..1f03a529984c1db5508c56d774ed1aa47d425764 100644 (file)
@@ -192,11 +192,13 @@ AP_DECLARE(void) ap_die(int type, request_rec *r)
 
 static void check_pipeline_flush(request_rec *r)
 {
+    apr_bucket *e;
+    apr_bucket_brigade *bb;
     conn_rec *c = r->connection;
     /* ### if would be nice if we could PEEK without a brigade. that would
        ### allow us to defer creation of the brigade to when we actually
        ### need to send a FLUSH. */
-    apr_bucket_brigade *bb = apr_brigade_create(r->pool, c->bucket_alloc);
+    bb = apr_brigade_create(r->pool, c->bucket_alloc);
 
     /* Flush the filter contents if:
      *
@@ -216,7 +218,7 @@ static void check_pipeline_flush(request_rec *r)
         }
     }
 
-        apr_bucket *e = apr_bucket_flush_create(c->bucket_alloc);
+        e = apr_bucket_flush_create(c->bucket_alloc);
 
         /* We just send directly to the connection based filters.  At
          * this point, we know that we have seen all of the data