From ca0bdd3e95e83d2eab9a9c6fe3a1f7a9f302a608 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 1 Sep 2007 12:05:55 +0000 Subject: change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr --- src/core/ngx_conf_file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h index 2e91d0b8c..c3e3e9a91 100644 --- a/src/core/ngx_conf_file.h +++ b/src/core/ngx_conf_file.h @@ -257,8 +257,8 @@ char *ngx_conf_check_num_bounds(ngx_conf_t *cf, void *post, void *data); } #define ngx_conf_merge_ptr_value(conf, prev, default) \ - if (conf == NULL) { \ - conf = (prev == NULL) ? default : prev; \ + if (conf == NGX_CONF_UNSET_PTR) { \ + conf = (prev == NGX_CONF_UNSET_PTR) ? default : prev; \ } #define ngx_conf_merge_uint_value(conf, prev, default) \ -- cgit