Mercurial > hg > nginx
comparison src/core/ngx_conf_file.h @ 306:6b91bfbc4123
nginx-0.0.3-2004-04-05-00:32:09 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 04 Apr 2004 20:32:09 +0000 |
parents | 502b03d9d2a3 |
children | 11ff50a35d6d |
comparison
equal
deleted
inserted
replaced
305:4b1a3a4acc60 | 306:6b91bfbc4123 |
---|---|
174 if (conf == (unsigned) NGX_CONF_UNSET) { \ | 174 if (conf == (unsigned) NGX_CONF_UNSET) { \ |
175 conf = default; \ | 175 conf = default; \ |
176 } | 176 } |
177 | 177 |
178 #define ngx_conf_init_size_value(conf, default) \ | 178 #define ngx_conf_init_size_value(conf, default) \ |
179 if (conf == NGX_CONF_UNSET) { \ | 179 if (conf == NGX_CONF_UNSET_SIZE) { \ |
180 conf = default; \ | 180 conf = default; \ |
181 } | 181 } |
182 | 182 |
183 #define ngx_conf_init_msec_value(conf, default) \ | 183 #define ngx_conf_init_msec_value(conf, default) \ |
184 if (conf == NGX_CONF_UNSET) { \ | 184 if (conf == NGX_CONF_UNSET_MSEC) { \ |
185 conf = default; \ | 185 conf = default; \ |
186 } | 186 } |
187 | 187 |
188 #define ngx_conf_merge_value(conf, prev, default) \ | 188 #define ngx_conf_merge_value(conf, prev, default) \ |
189 if (conf == NGX_CONF_UNSET) { \ | 189 if (conf == NGX_CONF_UNSET) { \ |