comparison src/core/ngx_conf_file.h @ 105:00bee6e7b485

nginx-0.0.1-2003-06-15-22:32:13 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Jun 2003 18:32:13 +0000
parents 6dfda4cf5200
children 9f9de4deda7e
comparison
equal deleted inserted replaced
104:7db96f59bc29 105:00bee6e7b485
100 #define ngx_conf_init_value(conf, default) \ 100 #define ngx_conf_init_value(conf, default) \
101 if (conf == NGX_CONF_UNSET) { \ 101 if (conf == NGX_CONF_UNSET) { \
102 conf = default; \ 102 conf = default; \
103 } 103 }
104 104
105 #define ngx_conf_init_unsigned_value(conf, default) \
106 if (conf == (unsigned) NGX_CONF_UNSET) { \
107 conf = default; \
108 }
109
105 #define ngx_conf_init_size_value(conf, default) \ 110 #define ngx_conf_init_size_value(conf, default) \
106 if (conf == NGX_CONF_UNSET) { \ 111 if (conf == NGX_CONF_UNSET) { \
107 conf = default; \ 112 conf = default; \
108 } 113 }
109 114