aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-01-10 06:09:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-01-10 06:09:20 +0000
commitb2620634c5c395f227a98837f46e1eaf6b86963c (patch)
treed9333eef73b09e7351cdc8705df984786a5544b3 /src/core/ngx_conf_file.c
parent4e9393a0548d783cd6f50d1fcd003c85a24b2b16 (diff)
downloadnginx-b2620634c5c395f227a98837f46e1eaf6b86963c.tar.gz
nginx-b2620634c5c395f227a98837f46e1eaf6b86963c.zip
nginx-0.0.1-2003-01-10-09:09:20 import
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c2
1 files changed, 1 insertions, 1 deletions
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;