changeset 756:d904b5cb3bba

fix building introduced by previous commit
author Igor Sysoev <igor@sysoev.ru>
date Tue, 10 Oct 2006 13:12:13 +0000
parents 63b9dc652c3d
children a138c4e6031f
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -1500,6 +1500,8 @@ ngx_http_upstream_process_non_buffered_b
     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_b
         return;
     }
 
-    r = c->data;
-    u = r->upstream;
     client = r->connection;
 
     b = &u->buffer;