Mercurial > hg > nginx
comparison src/http/modules/perl/ngx_http_perl_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 | 8b635cf36ccc |
children | 314c3d7cc3a5 |
comparison
equal
deleted
inserted
replaced
5316:12dd27b74117 | 5317:f1a91825730a |
---|---|
483 #endif | 483 #endif |
484 | 484 |
485 if (pmcf->modules != NGX_CONF_UNSET_PTR) { | 485 if (pmcf->modules != NGX_CONF_UNSET_PTR) { |
486 m = pmcf->modules->elts; | 486 m = pmcf->modules->elts; |
487 for (i = 0; i < pmcf->modules->nelts; i++) { | 487 for (i = 0; i < pmcf->modules->nelts; i++) { |
488 if (ngx_conf_full_name(cf->cycle, &m[i], 0) != NGX_OK) { | 488 if (ngx_get_full_name(cf->pool, &cf->cycle->prefix, &m[i]) |
489 != NGX_OK) | |
490 { | |
489 return NGX_CONF_ERROR; | 491 return NGX_CONF_ERROR; |
490 } | 492 } |
491 } | 493 } |
492 } | 494 } |
493 | 495 |