diff src/core/ngx_connection.c @ 114:ebca9c35e3a6 NGINX_0_3_4

nginx 0.3.4 *) Bugfix: nginx could not be built on Linux 2.4+ and MacOS X; bug appeared in 0.3.3.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Oct 2005 00:00:00 +0400
parents 408f195b3482
children 644a7935144b
line wrap: on
line diff
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -198,7 +198,7 @@ ngx_set_inherited_sockets(ngx_cycle_t *c
             continue;
         }
 
-        if (tlen < sizeof(int) || timeout == 0) {
+        if (olen < sizeof(int) || timeout == 0) {
             continue;
         }