comparison src/http/modules/perl/nginx.xs @ 1898:9a73235ce453

fix previous commit
author Igor Sysoev <igor@sysoev.ru>
date Sat, 16 Feb 2008 14:24:43 +0000
parents b43f244d0430
children 2a92804f4109
comparison
equal deleted inserted replaced
1897:b43f244d0430 1898:9a73235ce453
937 ngx_msec_t sleep; 937 ngx_msec_t sleep;
938 ngx_http_perl_ctx_t *ctx; 938 ngx_http_perl_ctx_t *ctx;
939 939
940 ngx_http_perl_set_request(r); 940 ngx_http_perl_set_request(r);
941 941
942 sleep = SvIV(ST(1)); 942 sleep = (ngx_msec_t) SvIV(ST(1));
943 943
944 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 944 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
945 "perl sleep: %M", sleep); 945 "perl sleep: %M", sleep);
946 946
947 ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module); 947 ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module);