Mercurial > hg > nginx
diff src/core/ngx_cycle.c @ 4870:8a9b7b4e9f2d
Correct plural form for "path" in the whole source base.
author | Andrey Belov <defan@nginx.com> |
---|---|
date | Fri, 28 Sep 2012 13:49:26 +0000 |
parents | 2b129bb067b5 |
children | 72e11139760b |
line wrap: on
line diff
--- a/src/core/ngx_cycle.c Fri Sep 28 13:15:11 2012 +0000 +++ b/src/core/ngx_cycle.c Fri Sep 28 13:49:26 2012 +0000 @@ -118,18 +118,18 @@ } - n = old_cycle->pathes.nelts ? old_cycle->pathes.nelts : 10; + n = old_cycle->paths.nelts ? old_cycle->paths.nelts : 10; - cycle->pathes.elts = ngx_pcalloc(pool, n * sizeof(ngx_path_t *)); - if (cycle->pathes.elts == NULL) { + cycle->paths.elts = ngx_pcalloc(pool, n * sizeof(ngx_path_t *)); + if (cycle->paths.elts == NULL) { ngx_destroy_pool(pool); return NULL; } - cycle->pathes.nelts = 0; - cycle->pathes.size = sizeof(ngx_path_t *); - cycle->pathes.nalloc = n; - cycle->pathes.pool = pool; + cycle->paths.nelts = 0; + cycle->paths.size = sizeof(ngx_path_t *); + cycle->paths.nalloc = n; + cycle->paths.pool = pool; if (old_cycle->open_files.part.nelts) { @@ -334,7 +334,7 @@ } - if (ngx_create_pathes(cycle, ccf->user) != NGX_OK) { + if (ngx_create_paths(cycle, ccf->user) != NGX_OK) { goto failed; }