Fixed possible issue.

This commit is contained in:
irungentoo 2013-11-19 11:18:30 -05:00
parent cdfe09d221
commit 64aff6bb85

View File

@ -109,7 +109,7 @@ static uint32_t send_broadcasts(Networking_Core *net, uint16_t port, uint8_t *da
int i; int i;
for (i = 0; i < broadcast_count; i++) for (i = 0; i < broadcast_count; i++)
sendpacket(net, broadcast_ip_port[i], data, 1 + crypto_box_PUBLICKEYBYTES); sendpacket(net, broadcast_ip_port[i], data, length);
return 1; return 1;
} }