comparison src/os/win32/ngx_process_cycle.c @ 4246:d3568507db51 stable-1.0

Merging r4132, r4134, r4143, r4183, r4191, r4199: Various fixes related to error messages: *) Removed old warning that suggested to use "server_name_in_redirect off" (now the default) in place of no longer supported "server_name *". *) Fixing directive name in error message if types hash size is not enough. *) Replaced "can not" with "cannot" and "could not" in a bunch of places. Fixed nearby grammar errors. *) Overhauled error messages.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Nov 2011 13:24:50 +0000
parents a4755d4fd91b
children d620f497c50f
comparison
equal deleted inserted replaced
4245:8d39230df833 4246:d3568507db51
528 528
529 if (ngx_spawn_process(cycle, ngx_processes[n].name, n) 529 if (ngx_spawn_process(cycle, ngx_processes[n].name, n)
530 == NGX_INVALID_PID) 530 == NGX_INVALID_PID)
531 { 531 {
532 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, 532 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
533 "can not respawn %s", ngx_processes[n].name); 533 "could not respawn %s", ngx_processes[n].name);
534 534
535 if (n == ngx_last_process - 1) { 535 if (n == ngx_last_process - 1) {
536 ngx_last_process--; 536 ngx_last_process--;
537 } 537 }
538 } 538 }