aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_conf_file.h')
-rw-r--r--src/core/ngx_conf_file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h
index ed73803a9..322b23a6e 100644
--- a/src/core/ngx_conf_file.h
+++ b/src/core/ngx_conf_file.h
@@ -176,12 +176,12 @@ char *ngx_conf_check_num_bounds(ngx_conf_t *cf, void *post, void *data);
}
#define ngx_conf_init_size_value(conf, default) \
- if (conf == NGX_CONF_UNSET) { \
+ if (conf == NGX_CONF_UNSET_SIZE) { \
conf = default; \
}
#define ngx_conf_init_msec_value(conf, default) \
- if (conf == NGX_CONF_UNSET) { \
+ if (conf == NGX_CONF_UNSET_MSEC) { \
conf = default; \
}