diff src/http/modules/ngx_http_geo_module.c @ 5317:f1a91825730a

Replaced ngx_conf_full_name() with ngx_get_full_name(). The ngx_get_full_name() function takes more readable arguments list.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 06 Aug 2013 19:58:40 +0400
parents 5482671df278
children 314c3d7cc3a5
line wrap: on
line diff
--- a/src/http/modules/ngx_http_geo_module.c	Tue Aug 06 19:58:40 2013 +0400
+++ b/src/http/modules/ngx_http_geo_module.c	Tue Aug 06 19:58:40 2013 +0400
@@ -1327,7 +1327,7 @@
 
     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;
     }