From 85a5281be9311da30ae1e22a2975b93921fd21c5 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 16 Feb 2008 14:24:43 +0000 Subject: fix previous commit --- src/http/modules/perl/nginx.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit