mirror of
https://github.com/3proxy/3proxy.git
synced 2026-09-04 09:31:16 +00:00
Use overloadable poll
This commit is contained in:
parent
d8b5900be6
commit
92b3dd8638
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue