comparison src/http/ngx_http.c @ 2025:638bbe2464f3

delete useless lines
author Igor Sysoev <igor@sysoev.ru>
date Thu, 22 May 2008 14:28:25 +0000
parents 7d58e319285e
children f321b59ae0e9
comparison
equal deleted inserted replaced
2024:7018254cc006 2025:638bbe2464f3
189 if (ngx_modules[m]->type != NGX_HTTP_MODULE) { 189 if (ngx_modules[m]->type != NGX_HTTP_MODULE) {
190 continue; 190 continue;
191 } 191 }
192 192
193 module = ngx_modules[m]->ctx; 193 module = ngx_modules[m]->ctx;
194 mi = ngx_modules[m]->ctx_index;
195 194
196 if (module->preconfiguration) { 195 if (module->preconfiguration) {
197 if (module->preconfiguration(cf) != NGX_OK) { 196 if (module->preconfiguration(cf) != NGX_OK) {
198 return NGX_CONF_ERROR; 197 return NGX_CONF_ERROR;
199 } 198 }
290 if (ngx_modules[m]->type != NGX_HTTP_MODULE) { 289 if (ngx_modules[m]->type != NGX_HTTP_MODULE) {
291 continue; 290 continue;
292 } 291 }
293 292
294 module = ngx_modules[m]->ctx; 293 module = ngx_modules[m]->ctx;
295 mi = ngx_modules[m]->ctx_index;
296 294
297 if (module->postconfiguration) { 295 if (module->postconfiguration) {
298 if (module->postconfiguration(cf) != NGX_OK) { 296 if (module->postconfiguration(cf) != NGX_OK) {
299 return NGX_CONF_ERROR; 297 return NGX_CONF_ERROR;
300 } 298 }