mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-28 23:10:02 +00:00
.
This commit is contained in:
parent
19c0923a86
commit
ff7ac0487b
@ -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…
x
Reference in New Issue
Block a user