mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Use overloadable poll
This commit is contained in:
1 parent
d8b5900be6
commit
92b3dd8638
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@ void * threadfunc (void *p) {
|
||||
fds.events = POLLIN;
|
||||
fds.revents = 0;
|
||||
for(i=5+(param->srv->maxchild>>10); i; i--){
|
||||
if(poll(&fds, 1, 1000*CONNBACK_TO)!=1){
|
||||
if(so._poll(&fds, 1, 1000*CONNBACK_TO)!=1){
|
||||
param->srv->logfunc(param, (unsigned char *)"Connect back not received, check connback client");
|
||||
i = 0;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user