diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-09-23 19:15:42 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-23 19:15:42 +0000 |
| commit | ab605f1ac0fd925fac542036db3c50e786a255f1 (patch) | |
| tree | 989063f7f195089f455149b17c1b6d4f48f3c271 /src/core | |
| parent | f7030b1ba53b04f483d5a9721336af4634a58bbd (diff) | |
| download | nginx-ab605f1ac0fd925fac542036db3c50e786a255f1.tar.gz nginx-ab605f1ac0fd925fac542036db3c50e786a255f1.tar.bz2 | |
r1453 merge:
change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ngx_conf_file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h index 7d5112919..c065384b0 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) \ |
