changeset 3897:1df827cf70c0

fix r3713 thanks to Igor A. Valcov
author Igor Sysoev <igor@sysoev.ru>
date Tue, 19 Apr 2011 12:29:16 +0000
parents ec8dfac68f41
children bd1222fb0192
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -2281,8 +2281,8 @@ ngx_http_subrequest(ngx_http_request_t *
     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++;