Fix compile warning
This commit is contained in:
parent
0acd5335d5
commit
eccfbc334c
@ -69,8 +69,9 @@ inline ssize_t udpsocketsend(UDPSOCKET sockfd, const void *buf, size_t len,
|
||||
{
|
||||
sockfd->beginPacket(destaddr, destport);
|
||||
sockfd->write((const uint8_t *) buf, len);
|
||||
if(!sockfd->endPacket())
|
||||
if(!sockfd->endPacket()) {
|
||||
// printf("error sending udp packet\n");
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user