X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=libfcgi%2Fos_unix.c;h=c17f4a3ca5dbd05d8fbc78a0ba6c50d5a3f717d6;hb=a34d549f6682c835254b0a38f4d7fae6123875f2;hp=b8c0a1bb62c7deba7fd451442a645c60d55fc94d;hpb=f3804f3c071b7bcc23df70474dace9fad6815f66;p=catagits%2Ffcgi2.git diff --git a/libfcgi/os_unix.c b/libfcgi/os_unix.c index b8c0a1b..c17f4a3 100755 --- a/libfcgi/os_unix.c +++ b/libfcgi/os_unix.c @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$Id: os_unix.c,v 1.35 2002/01/03 15:12:50 robs Exp $"; +static const char rcsid[] = "$Id: os_unix.c,v 1.36 2002/02/19 00:45:55 robs Exp $"; #endif /* not lint */ #include "fcgi_config.h" @@ -638,7 +638,7 @@ int OS_AsyncRead(int fd, int offset, void *buf, int len, if(fd > maxFd) maxFd = fd; - if(index >= asyncIoTableSize) { + while (index >= asyncIoTableSize) { GrowAsyncTable(); } @@ -687,7 +687,7 @@ int OS_AsyncWrite(int fd, int offset, void *buf, int len, if(fd > maxFd) maxFd = fd; - if(index >= asyncIoTableSize) { + while (index >= asyncIoTableSize) { GrowAsyncTable(); }