- changed select calls to newly indroduced uselect

SKIPPED:
	psi/sinqhttpprot.c
This commit is contained in:
zolliker
2008-10-16 13:53:39 +00:00
parent 52a93e6cc3
commit 373063fab6
6 changed files with 18 additions and 15 deletions

View File

@@ -38,6 +38,7 @@
#include "telnet.h"
#include "nread.h"
#include "commandlog.h"
#include "uselect.h"
extern pServer pServ;
extern int VerifyChannel(mkChannel *self); /* defined in network.c */
@@ -765,7 +766,7 @@ extern int VerifyChannel(mkChannel *self); /* defined in network.c */
/* the select itself */
tmo.tv_usec = self->iReadTimeout;
iCount++;
iRet = select(iCount, &lMask,NULL,NULL,&tmo);
iRet = uselect(iCount, &lMask,NULL,NULL,&tmo);
if(iRet <= 0) /* no pending request */
{
return 1;