diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-12 18:39:51 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-11-12 18:39:51 +0000 |
| commit | 033598bc073da23dcec5e4ea80b85cccecd8958a (patch) | |
| tree | b5c907bbebaefe9915049d45aef7610d03157527 /src/os/win32/ngx_process_cycle.c | |
| parent | d39777712d97180ff439461813083cbc7892a2a1 (diff) | |
| download | nginx-033598bc073da23dcec5e4ea80b85cccecd8958a.tar.gz nginx-033598bc073da23dcec5e4ea80b85cccecd8958a.tar.bz2 | |
Merge of r4870, r4871, r4890, r4895: minor fixes.
*) Made sure to initialize the entire ngx_file_t structure.
Found by Coverity.
*) Correct plural form for "path" in the whole source base.
*) Removed conditional compilation from waitpid() error test.
There are reports that call to a signal handler for an exited process
despite waitpid() already called for the process may happen on Linux
as well.
*) Style, parentheses instead of braces in misc/GNUMakefile.
Diffstat (limited to 'src/os/win32/ngx_process_cycle.c')
| -rw-r--r-- | src/os/win32/ngx_process_cycle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os/win32/ngx_process_cycle.c b/src/os/win32/ngx_process_cycle.c index f6057c8fe..3a14aad69 100644 --- a/src/os/win32/ngx_process_cycle.c +++ b/src/os/win32/ngx_process_cycle.c @@ -963,8 +963,8 @@ ngx_cache_manager_process_handler(void) next = 60 * 60; - path = ngx_cycle->pathes.elts; - for (i = 0; i < ngx_cycle->pathes.nelts; i++) { + path = ngx_cycle->paths.elts; + for (i = 0; i < ngx_cycle->paths.nelts; i++) { if (path[i]->manager) { n = path[i]->manager(path[i]->data); @@ -1002,8 +1002,8 @@ ngx_cache_loader_thread(void *data) cycle = (ngx_cycle_t *) ngx_cycle; - path = cycle->pathes.elts; - for (i = 0; i < cycle->pathes.nelts; i++) { + path = cycle->paths.elts; + for (i = 0; i < cycle->paths.nelts; i++) { if (ngx_terminate || ngx_quit) { break; |
