diff src/os/unix/ngx_process_cycle.c @ 535:563ad09abf50 release-0.1.42

nginx-0.1.42-RELEASE import *) Bugfix: if the request URI had a zero length after the processing in the ngx_http_proxy_module, then the segmentation fault or bus error occurred in the ngx_http_proxy_module. *) Bugfix: the "limit_rate" directive did not work inside the "if" block; the bug had appeared in 0.1.38.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 23 Aug 2005 15:36:54 +0000
parents c3bd8cdabb8f
children 511a89da35ad
line wrap: on
line diff
--- a/src/os/unix/ngx_process_cycle.c
+++ b/src/os/unix/ngx_process_cycle.c
@@ -916,7 +916,7 @@ ngx_worker_process_init(ngx_cycle_t *cyc
 #endif
 
     if (ngx_add_channel_event(cycle, ngx_channel, NGX_READ_EVENT,
-                                             ngx_channel_handler) == NGX_ERROR)
+                              ngx_channel_handler) == NGX_ERROR)
     {
         /* fatal */
         exit(2);