Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_addition_filter_module.c @ 645:4946078f0a79 release-0.3.44
nginx-0.3.44-RELEASE import
*) Feature: the "wait" parameter in the "include" SSI command.
*) Feature: the Ukrainian and Byelorussian characters were added to
koi-win conversion table.
*) Bugfix: in the SSI.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 04 May 2006 15:32:46 +0000 |
parents | 5d2b8078c1c2 |
children | 63a820b0bc6c |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_addition_filter_module.c +++ b/src/http/modules/ngx_http_addition_filter_module.c @@ -143,7 +143,9 @@ ngx_http_addition_body_filter(ngx_http_r ctx->before_body_sent = 1; if (conf->before_body.len) { - if (ngx_http_subrequest(r, &conf->before_body, NULL, 0) != NGX_OK) { + if (ngx_http_subrequest(r, &conf->before_body, NULL, 0) + == NGX_ERROR) + { return NGX_ERROR; } } @@ -165,7 +167,7 @@ ngx_http_addition_body_filter(ngx_http_r return rc; } - if (ngx_http_subrequest(r, &conf->after_body, NULL, 0) != NGX_OK) { + if (ngx_http_subrequest(r, &conf->after_body, NULL, 0) == NGX_ERROR) { return NGX_ERROR; }