From d29d21bade3a0fbe0e2d5d7e0e5546873c2ee588 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 6 Aug 2013 19:58:40 +0400 Subject: Replaced ngx_conf_full_name() with ngx_get_full_name(). The ngx_get_full_name() function takes more readable arguments list. --- src/http/modules/ngx_http_geo_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_geo_module.c') diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c index 34c3b190d..711871b6c 100644 --- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -1327,7 +1327,7 @@ ngx_http_geo_include(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx, ngx_sprintf(file.data, "%V.bin%Z", name); - if (ngx_conf_full_name(cf->cycle, &file, 1) != NGX_OK) { + if (ngx_get_full_name(cf->pool, &cf->cycle->conf_prefix, &file) != NGX_OK) { return NGX_CONF_ERROR; } -- cgit