Mercurial > hg > nginx
comparison src/http/modules/ngx_http_xslt_filter_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 | e939f6e8548c |
children | 314c3d7cc3a5 |
comparison
equal
deleted
inserted
replaced
5316:12dd27b74117 | 5317:f1a91825730a |
---|---|
890 return NGX_CONF_ERROR; | 890 return NGX_CONF_ERROR; |
891 } | 891 } |
892 | 892 |
893 ngx_memzero(sheet, sizeof(ngx_http_xslt_sheet_t)); | 893 ngx_memzero(sheet, sizeof(ngx_http_xslt_sheet_t)); |
894 | 894 |
895 if (ngx_conf_full_name(cf->cycle, &value[1], 0) != NGX_OK) { | 895 if (ngx_get_full_name(cf->pool, &cf->cycle->prefix, &value[1]) != NGX_OK) { |
896 return NGX_CONF_ERROR; | 896 return NGX_CONF_ERROR; |
897 } | 897 } |
898 | 898 |
899 xmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_xslt_filter_module); | 899 xmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_xslt_filter_module); |
900 | 900 |