comparison src/core/ngx_conf_file.c @ 45:f1ee46c036a4

nginx-0.0.1-2003-01-10-09:09:20 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Jan 2003 06:09:20 +0000
parents 0e81ac0bb3e2
children f84a648211f4
comparison
equal deleted inserted replaced
44:0e81ac0bb3e2 45:f1ee46c036a4
81 81
82 name = (ngx_str_t *) cf->args->elts; 82 name = (ngx_str_t *) cf->args->elts;
83 found = 0; 83 found = 0;
84 84
85 for (i = 0; !found && ngx_modules[i]; i++) { 85 for (i = 0; !found && ngx_modules[i]; i++) {
86 if (ngx_modules[i]->type != NULL 86 if (ngx_modules[i]->type != NGX_CONF_MODULE_TYPE
87 && ngx_modules[i]->type != cf->type) 87 && ngx_modules[i]->type != cf->type)
88 { 88 {
89 continue; 89 continue;
90 } 90 }
91 91