From b2620634c5c395f227a98837f46e1eaf6b86963c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 10 Jan 2003 06:09:20 +0000 Subject: nginx-0.0.1-2003-01-10-09:09:20 import --- src/core/ngx_conf_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ngx_conf_file.c') diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index 70cb551dc..df0f5b244 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -83,7 +83,7 @@ ngx_log_debug(cf->log, "token %d" _ rc); found = 0; for (i = 0; !found && ngx_modules[i]; i++) { - if (ngx_modules[i]->type != NULL + if (ngx_modules[i]->type != NGX_CONF_MODULE_TYPE && ngx_modules[i]->type != cf->type) { continue; -- cgit