mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Get rid of G++ compiler warning.
This commit is contained in:
parent
604576075e
commit
105e1a016f
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ public:
|
|||
long sent = _phy.tcpSend(sock,tc->writeBuf.data(),tc->writeBuf.length(),true);
|
||||
if (sent > 0) {
|
||||
tc->lastActivity = OSUtils::now();
|
||||
if (sent == tc->writeBuf.length()) {
|
||||
if ((unsigned long)sent == (unsigned long)tc->writeBuf.length()) {
|
||||
tc->writeBuf = "";
|
||||
_phy.tcpSetNotifyWritable(sock,false);
|
||||
if (!tc->shouldKeepAlive)
|
||||
|
|
Loading…
Add table
Reference in a new issue