mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
.
This commit is contained in:
parent
19c0923a86
commit
ff7ac0487b
1 changed files with 0 additions and 2 deletions
|
@ -965,7 +965,6 @@ public:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ZT_PHY_SOCKET_FD: {
|
case ZT_PHY_SOCKET_FD: {
|
||||||
#ifdef __UNIX_LIKE__
|
|
||||||
ZT_PHY_SOCKFD_TYPE sock = s->sock;
|
ZT_PHY_SOCKFD_TYPE sock = s->sock;
|
||||||
const bool readable = ((FD_ISSET(sock,&rfds))&&(FD_ISSET(sock,&_readfds)));
|
const bool readable = ((FD_ISSET(sock,&rfds))&&(FD_ISSET(sock,&_readfds)));
|
||||||
const bool writable = ((FD_ISSET(sock,&wfds))&&(FD_ISSET(sock,&_writefds)));
|
const bool writable = ((FD_ISSET(sock,&wfds))&&(FD_ISSET(sock,&_writefds)));
|
||||||
|
@ -974,7 +973,6 @@ public:
|
||||||
_handler->phyOnFileDescriptorActivity((PhySocket *)&(*s),&(s->uptr),readable,writable);
|
_handler->phyOnFileDescriptorActivity((PhySocket *)&(*s),&(s->uptr),readable,writable);
|
||||||
} catch ( ... ) {}
|
} catch ( ... ) {}
|
||||||
}
|
}
|
||||||
#endif // __UNIX_LIKE__
|
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue