]> git.kaiwu.me - nginx.git/commitdiff
use NULL instead of 0
authorIgor Sysoev <igor@sysoev.ru>
Tue, 3 Aug 2010 12:53:06 +0000 (12:53 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 3 Aug 2010 12:53:06 +0000 (12:53 +0000)
src/http/modules/ngx_http_proxy_module.c

index caf27b67c8350e84f5cd7266ab1c0973d808473a..e311bb9d37f6b839ac1a9a630f0f0f618b89414c 100644 (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)