aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-02-16 14:24:43 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-02-16 14:24:43 +0000
commit85a5281be9311da30ae1e22a2975b93921fd21c5 (patch)
treeae80b57e2d554dae24403ab1f81838604370b6a5
parent0a0c02f58b477257dd3e7e7f62274e5671b88e8e (diff)
downloadnginx-85a5281be9311da30ae1e22a2975b93921fd21c5.tar.gz
nginx-85a5281be9311da30ae1e22a2975b93921fd21c5.zip
fix previous commit
-rw-r--r--src/http/modules/perl/nginx.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index ea8c366df..4524a8c40 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -939,7 +939,7 @@ sleep(r, sleep, next)
ngx_http_perl_set_request(r);
- sleep = SvIV(ST(1));
+ sleep = (ngx_msec_t) SvIV(ST(1));
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"perl sleep: %M", sleep);