projects
/
nginx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upstream nginx-0.7.39
[nginx.git]
/
nginx
/
src
/
http
/
modules
/
ngx_http_sub_filter_module.c
diff --git
a/nginx/src/http/modules/ngx_http_sub_filter_module.c
b/nginx/src/http/modules/ngx_http_sub_filter_module.c
index
1cec8b6
..
b07d2c1
100644
(file)
--- a/
nginx/src/http/modules/ngx_http_sub_filter_module.c
+++ b/
nginx/src/http/modules/ngx_http_sub_filter_module.c
@@
-204,7
+204,7
@@
ngx_http_sub_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
/* add the incoming chain to the chain ctx->in */
if (in) {
- if (ngx_chain_add_copy(r->pool, &ctx->in, in)
== NGX_ERROR
) {
+ if (ngx_chain_add_copy(r->pool, &ctx->in, in)
!= NGX_OK
) {
return NGX_ERROR;
}
}