# HG changeset patch # User Igor Sysoev # Date 1280839986 0 # Node ID 527a0f8cae2ae015d8aef242b70d851bb10b0157 # Parent a47f431b27a628e50650e1ab5942f4577764fd1d 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 --- 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_ 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)