diff src/http/modules/ngx_http_proxy_module.c @ 3733:527a0f8cae2a

use NULL instead of 0
author Igor Sysoev <igor@sysoev.ru>
date Tue, 03 Aug 2010 12:53:06 +0000
parents 72cc5b789021
children e3a6785b5be4
line wrap: on
line diff
--- 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)