aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/nginx.xs
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-02-22 19:41:39 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-02-22 19:41:39 +0000
commitcce886c71df5b1de9d9bf57fc26f9d830cb517eb (patch)
treed25f11e23de1ec0fb0ab74dbf2dc08b29da8c110 /src/http/modules/perl/nginx.xs
parent2a74c506c726b1ba06a329f6293540e9ea213326 (diff)
downloadnginx-release-0.3.30.tar.gz
nginx-release-0.3.30.zip
nginx-0.3.30-RELEASE importrelease-0.3.30
*) Change: the ECONNABORTED error log level was changed to "error" from "crit". *) Bugfix: the ngx_http_perl_module could not be build without the ngx_http_ssi_filter_module. *) Bugfix: nginx could not be built on i386 platform, if the PIC was used; the bug had appeared in 0.3.27.
Diffstat (limited to 'src/http/modules/perl/nginx.xs')
-rw-r--r--src/http/modules/perl/nginx.xs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs
index 2d7ede031..4d57bb63e 100644
--- a/src/http/modules/perl/nginx.xs
+++ b/src/http/modules/perl/nginx.xs
@@ -47,7 +47,9 @@ ngx_http_perl_sv2str(pTHX_ ngx_http_request_t *r, ngx_str_t *s, SV *sv)
static ngx_int_t
ngx_http_perl_output(ngx_http_request_t *r, ngx_buf_t *b)
{
- ngx_chain_t *cl, out;
+ ngx_chain_t out;
+#if (NGX_HTTP_SSI)
+ ngx_chain_t *cl;
ngx_http_perl_ctx_t *ctx;
ctx = ngx_http_get_module_ctx(r, ngx_http_perl_module);
@@ -65,6 +67,7 @@ ngx_http_perl_output(ngx_http_request_t *r, ngx_buf_t *b)
return NGX_OK;
}
+#endif
out.buf = b;
out.next = NULL;