]> granicus.if.org Git - apache/commitdiff
can't mix declarations and statements except with gcc 3.2 :)
authorJeff Trawick <trawick@apache.org>
Mon, 11 Nov 2002 21:08:26 +0000 (21:08 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 11 Nov 2002 21:08:26 +0000 (21:08 +0000)
(or possibly RedHat 8's patches to it)

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

server/core.c

index 0738c098b60c7c71ce30d1dd2e39e9c753f2f24e..ebd94f26e767162fa5af7f08359bb8a58546bd9f 100644 (file)
@@ -3690,9 +3690,6 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b)
         apr_bucket *last_e = NULL; /* initialized for debugging */
         apr_bucket *e;
 
-        /* tail of brigade if we need another pass */
-        more = NULL;
-
         /* one group of iovecs per pass over the brigade */
         apr_size_t nvec = 0;
         apr_size_t nvec_trailers = 0;
@@ -3709,6 +3706,9 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b)
          */
         apr_bucket *last_merged_bucket = NULL;
 
+        /* tail of brigade if we need another pass */
+        more = NULL;
+
         /* Iterate over the brigade: collect iovecs and/or a file */
         APR_BRIGADE_FOREACH(e, b) {
             /* keep track of the last bucket processed */