diff options
| author | Andrey Belov <defan@nginx.com> | 2012-09-28 13:49:26 +0000 |
|---|---|---|
| committer | Andrey Belov <defan@nginx.com> | 2012-09-28 13:49:26 +0000 |
| commit | 8be233c8f2a3544195be4a6e97243437cd78df60 (patch) | |
| tree | 89873a0b046621eed770b3ee4bf420e186c7f61f /src/core/ngx_cycle.c | |
| parent | b33a3168838255e92956508a17e6a86239a7afa9 (diff) | |
| download | nginx-8be233c8f2a3544195be4a6e97243437cd78df60.tar.gz nginx-8be233c8f2a3544195be4a6e97243437cd78df60.tar.bz2 | |
Correct plural form for "path" in the whole source base.
Diffstat (limited to 'src/core/ngx_cycle.c')
| -rw-r--r-- | src/core/ngx_cycle.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c index facf0689f..f15372990 100644 --- a/src/core/ngx_cycle.c +++ b/src/core/ngx_cycle.c @@ -118,18 +118,18 @@ ngx_init_cycle(ngx_cycle_t *old_cycle) } - 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 @@ ngx_init_cycle(ngx_cycle_t *old_cycle) } - if (ngx_create_pathes(cycle, ccf->user) != NGX_OK) { + if (ngx_create_paths(cycle, ccf->user) != NGX_OK) { goto failed; } |
