use NULL instead of 0

This commit is contained in:
Igor Sysoev 2010-08-03 12:53:06 +00:00
parent b16b8ddae6
commit e4994fbacb

View File

@ -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)