- changed select calls to newly indroduced uselect
SKIPPED: psi/sinqhttpprot.c
This commit is contained in:
3
nread.c
3
nread.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user