]> git.kaiwu.me - nginx.git/commitdiff
fix r3713
authorIgor Sysoev <igor@sysoev.ru>
Tue, 19 Apr 2011 12:29:16 +0000 (12:29 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 19 Apr 2011 12:29:16 +0000 (12:29 +0000)
thanks to Igor A. Valcov

src/http/ngx_http_core_module.c

index 06eb0b36c0ca9b325aa27982815c7ef6b594f9a5..597b64c51d67e4e7bd2f6aa3a0566bcd78577dcb 100644 (file)
@@ -2281,8 +2281,8 @@ ngx_http_subrequest(ngx_http_request_t *r,
     sr->uri_changes = NGX_HTTP_MAX_URI_CHANGES + 1;
 
     tp = ngx_timeofday();
-    r->start_sec = tp->sec;
-    r->start_msec = tp->msec;
+    sr->start_sec = tp->sec;
+    sr->start_msec = tp->msec;
 
     r->main->subrequests++;
     r->main->count++;