diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-02-16 14:24:43 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-16 14:24:43 +0000 |
commit | 85a5281be9311da30ae1e22a2975b93921fd21c5 (patch) | |
tree | ae80b57e2d554dae24403ab1f81838604370b6a5 | |
parent | 0a0c02f58b477257dd3e7e7f62274e5671b88e8e (diff) | |
download | nginx-85a5281be9311da30ae1e22a2975b93921fd21c5.tar.gz nginx-85a5281be9311da30ae1e22a2975b93921fd21c5.zip |
fix previous commit
-rw-r--r-- | src/http/modules/perl/nginx.xs | 2 |
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); |