Mercurial > hg > nginx
comparison src/core/ngx_conf_file.c @ 71:59229033ae93
nginx-0.0.1-2003-04-08-19:40:10 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 08 Apr 2003 15:40:10 +0000 |
parents | 5a7d1aaa1618 |
children | a7e45c45a95c |
comparison
equal
deleted
inserted
replaced
70:e320bf51c4e3 | 71:59229033ae93 |
---|---|
128 conf = NULL; | 128 conf = NULL; |
129 if (cf->ctx) { | 129 if (cf->ctx) { |
130 pconf = *(void **) ((char *) cf->ctx + cmd->conf); | 130 pconf = *(void **) ((char *) cf->ctx + cmd->conf); |
131 | 131 |
132 if (pconf) { | 132 if (pconf) { |
133 conf = pconf[ngx_modules[i]->index]; | 133 conf = pconf[*(int *)(ngx_modules[i]->ctx)]; |
134 } | 134 } |
135 } | 135 } |
136 | 136 |
137 rv = cmd->set(cf, cmd, conf); | 137 rv = cmd->set(cf, cmd, conf); |
138 | 138 |