]> git.kaiwu.me - nginx.git/commitdiff
fix building without HTTP cache, the bug had been introduced in r3461
authorIgor Sysoev <igor@sysoev.ru>
Tue, 6 Apr 2010 11:49:36 +0000 (11:49 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 6 Apr 2010 11:49:36 +0000 (11:49 +0000)
src/http/modules/ngx_http_fastcgi_module.c

index b09b3307a610d8be0ae5e8ddaea91811d48c49fe..77b6d9d38ea2c19a11157dd333e49119fd773933 100644 (file)
@@ -1101,7 +1101,6 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
     ngx_table_elt_t                *h;
     ngx_http_upstream_t            *u;
     ngx_http_fastcgi_ctx_t         *f;
-    ngx_http_fastcgi_header_t      *fh;
     ngx_http_upstream_header_t     *hh;
     ngx_http_fastcgi_loc_conf_t    *flcf;
     ngx_http_fastcgi_split_part_t  *part;
@@ -1255,8 +1254,9 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
 #if (NGX_HTTP_CACHE)
 
         if (f->large_stderr && r->cache) {
-            u_char   *start;
-            ssize_t   len;
+            u_char                     *start;
+            ssize_t                     len;
+            ngx_http_fastcgi_header_t  *fh;
 
             start = u->buffer.start + r->cache->header_start;