nginx-0.0.1-2003-12-09-18:08:11 import
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h index eb5478e..eb9e63b 100644 --- a/src/core/ngx_conf_file.h +++ b/src/core/ngx_conf_file.h
@@ -179,6 +179,11 @@ conf = default; \ } +#define ngx_conf_init_ptr_value(conf, default) \ + if (conf == (void *) NGX_CONF_UNSET) { \ + conf = default; \ + } + #define ngx_conf_init_unsigned_value(conf, default) \ if (conf == (unsigned) NGX_CONF_UNSET) { \ conf = default; \