aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-04-19 12:29:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-04-19 12:29:16 +0000
commit423ee58e76ebb2b444358a3ff6422b7fee7437e0 (patch)
tree4e94377ecc814595879162d372cfbeffb4167ae8 /src/http/ngx_http_core_module.c
parentf771ce98639c4f3df46a3793d9f6e0cc87d4dafe (diff)
downloadnginx-423ee58e76ebb2b444358a3ff6422b7fee7437e0.tar.gz
nginx-423ee58e76ebb2b444358a3ff6422b7fee7437e0.zip
fix r3713
thanks to Igor A. Valcov
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 06eb0b36c..597b64c51 100644
--- 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 *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++;