]> git.kaiwu.me - nginx.git/commitdiff
fix building introduced by previous commit
authorIgor Sysoev <igor@sysoev.ru>
Tue, 10 Oct 2006 13:12:13 +0000 (13:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 10 Oct 2006 13:12:13 +0000 (13:12 +0000)
src/http/ngx_http_upstream.c

index 71b9b89de9f0bf93a564b2aab0d7d396cb07d57b..ad3f0fbf5cd03f77e19dfb169c778406ea9d421e 100644 (file)
@@ -1500,6 +1500,8 @@ ngx_http_upstream_process_non_buffered_body(ngx_event_t *ev)
     ngx_http_core_loc_conf_t  *clcf;
 
     c = ev->data;
+    r = c->data;
+    u = r->upstream;
 
     if (ev->write) {
         ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
@@ -1525,8 +1527,6 @@ ngx_http_upstream_process_non_buffered_body(ngx_event_t *ev)
         return;
     }
 
-    r = c->data;
-    u = r->upstream;
     client = r->connection;
 
     b = &u->buffer;