diff src/core/ngx_connection.c @ 565:7c1369d37c7e release-0.3.4

nginx-0.3.4-RELEASE import *) Bugfix: nginx could not be built on Linux 2.4+ and MacOS X; the bug had appeared in 0.3.3.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 19 Oct 2005 13:34:28 +0000
parents 9c2f3ed7a247
children 174f1e853e1e
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;
         }