Mercurial > hg > nginx
diff src/core/ngx_conf_file.c @ 91:637625a2acdb
nginx-0.0.1-2003-05-19-20:39:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 May 2003 16:39:14 +0000 |
parents | 37530da31268 |
children | 19cc647ecd91 |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -19,7 +19,7 @@ char *ngx_conf_parse(ngx_conf_t *cf, ngx { int i, rc, found; char *rv; - void *conf, **pconf; + void *conf, **confp; ngx_str_t *name; ngx_fd_t fd; ngx_conf_file_t *prev; @@ -164,10 +164,10 @@ ngx_log_debug(cf->log, "command '%s'" _ conf = &(((void **) cf->ctx)[ngx_modules[i]->index]); } else if (cf->ctx) { - pconf = *(void **) ((char *) cf->ctx + cmd->conf); + confp = *(void **) ((char *) cf->ctx + cmd->conf); - if (pconf) { - conf = pconf[*(int *)(ngx_modules[i]->ctx)]; + if (confp) { + conf = confp[*(int *)(ngx_modules[i]->ctx)]; } }