| commit | e4994fbacb8a8f1496fb980aa0ec0ff1d5916525 | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Tue Aug 03 12:53:06 2010 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Tue Aug 03 12:53:06 2010 +0000 |
| tree | ed5448de2000375f4ce6f4dfb7244eab0dc69e4b | |
| parent | b16b8ddae6fcb2d81985b84db9ff3244b1bfffb6 [diff] [blame] |
use NULL instead of 0
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index caf27b6..e311bb9 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c
@@ -572,7 +572,7 @@ 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)