aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_log_module.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-08-06 19:58:40 +0400
committerValentin Bartenev <vbart@nginx.com>2013-08-06 19:58:40 +0400
commitd29d21bade3a0fbe0e2d5d7e0e5546873c2ee588 (patch)
tree26c5b0dc0e449c36f3df7a46d070a9e805c287ee /src/http/modules/ngx_http_log_module.c
parent3c5bd34771be032ef14e59f934058b3dce93588b (diff)
downloadnginx-d29d21bade3a0fbe0e2d5d7e0e5546873c2ee588.tar.gz
nginx-d29d21bade3a0fbe0e2d5d7e0e5546873c2ee588.zip
Replaced ngx_conf_full_name() with ngx_get_full_name().
The ngx_get_full_name() function takes more readable arguments list.
Diffstat (limited to 'src/http/modules/ngx_http_log_module.c')
-rw-r--r--src/http/modules/ngx_http_log_module.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c
index aa6a3fcee..505ae3b22 100644
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -1134,7 +1134,9 @@ ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
} else {
- if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) {
+ if (ngx_get_full_name(cf->pool, &cf->cycle->prefix, &value[1])
+ != NGX_OK)
+ {
return NGX_CONF_ERROR;
}