aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request_body.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-15 14:26:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-15 14:26:36 +0000
commit1d04b14c09ee678a184c0acbd91b532110c02dd9 (patch)
tree3e35af1b9cf6438a23d8f1bf8caba49ceebaffb5 /src/http/ngx_http_request_body.c
parenta7e01da1636405988d96dfd2dbb2699241f24bbc (diff)
downloadnginx-1d04b14c09ee678a184c0acbd91b532110c02dd9.tar.gz
nginx-1d04b14c09ee678a184c0acbd91b532110c02dd9.zip
64-bit time_t compatibility
Diffstat (limited to 'src/http/ngx_http_request_body.c')
-rw-r--r--src/http/ngx_http_request_body.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
index a9583c706..a5b6813a2 100644
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -493,7 +493,7 @@ ngx_http_read_discarded_request_body_handler(ngx_http_request_t *r)
}
if (r->lingering_time) {
- timer = r->lingering_time - ngx_time();
+ timer = (ngx_msec_t) (r->lingering_time - ngx_time());
if (timer <= 0) {
r->discard_body = 0;