comparison 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
comparison
equal deleted inserted replaced
3732:a47f431b27a6 3733:527a0f8cae2a
570 570
571 plcf = ngx_http_get_module_loc_conf(r, ngx_http_proxy_module); 571 plcf = ngx_http_get_module_loc_conf(r, ngx_http_proxy_module);
572 572
573 u = r->upstream; 573 u = r->upstream;
574 574
575 if (plcf->proxy_lengths == 0) { 575 if (plcf->proxy_lengths == NULL) {
576 ctx->vars = plcf->vars; 576 ctx->vars = plcf->vars;
577 u->schema = plcf->vars.schema; 577 u->schema = plcf->vars.schema;
578 #if (NGX_HTTP_SSL) 578 #if (NGX_HTTP_SSL)
579 u->ssl = (plcf->upstream.ssl != NULL); 579 u->ssl = (plcf->upstream.ssl != NULL);
580 #endif 580 #endif