diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-08-03 12:53:06 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-08-03 12:53:06 +0000 |
| commit | e4994fbacb8a8f1496fb980aa0ec0ff1d5916525 (patch) | |
| tree | ed5448de2000375f4ce6f4dfb7244eab0dc69e4b | |
| parent | b16b8ddae6fcb2d81985b84db9ff3244b1bfffb6 (diff) | |
| download | nginx-e4994fbacb8a8f1496fb980aa0ec0ff1d5916525.tar.gz nginx-e4994fbacb8a8f1496fb980aa0ec0ff1d5916525.tar.bz2 | |
use NULL instead of 0
| -rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index caf27b67c..e311bb9d3 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -572,7 +572,7 @@ ngx_http_proxy_handler(ngx_http_request_t *r) u = r->upstream; - if (plcf->proxy_lengths == 0) { + if (plcf->proxy_lengths == NULL) { ctx->vars = plcf->vars; u->schema = plcf->vars.schema; #if (NGX_HTTP_SSL) |
