changeset 3733:527a0f8cae2a

use NULL instead of 0
author Igor Sysoev <igor@sysoev.ru>
date Tue, 03 Aug 2010 12:53:06 +0000
parents a47f431b27a6
children e3a6785b5be4
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c	Tue Aug 03 09:42:53 2010 +0000
+++ b/src/http/modules/ngx_http_proxy_module.c	Tue Aug 03 12:53:06 2010 +0000
@@ -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)