aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-05-19 16:39:14 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-05-19 16:39:14 +0000
commita98301160de4c12f455cca8f78509f2e04626c0b (patch)
treecdf14046298d40ca8398925603fb4011360b187a /src/core/ngx_conf_file.c
parentbb4ec5c1721defd7b10f83ace51bddb71726dd1a (diff)
downloadnginx-a98301160de4c12f455cca8f78509f2e04626c0b.tar.gz
nginx-a98301160de4c12f455cca8f78509f2e04626c0b.zip
nginx-0.0.1-2003-05-19-20:39:14 import
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 3d93f02e0..99af0afbd 100644
--- 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_str_t *filename)
{
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'" _ cmd->name.data);
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)];
}
}