diff options
author | irungentoo <irungentoo@gmail.com> | 2013-11-19 11:18:30 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-11-19 11:18:30 -0500 |
commit | 64aff6bb8582462f4267265ed2462470d288931d (patch) | |
tree | 2cf38cdafc2148580e4f95b2e511282eb05ef68c /toxcore/LAN_discovery.c | |
parent | cdfe09d221490f15150881b59a345c6e19957483 (diff) |
Fixed possible issue.
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r-- | toxcore/LAN_discovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index 24581845..0f237cca 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c | |||
@@ -109,7 +109,7 @@ static uint32_t send_broadcasts(Networking_Core *net, uint16_t port, uint8_t *da | |||
109 | int i; | 109 | int i; |
110 | 110 | ||
111 | for (i = 0; i < broadcast_count; i++) | 111 | for (i = 0; i < broadcast_count; i++) |
112 | sendpacket(net, broadcast_ip_port[i], data, 1 + crypto_box_PUBLICKEYBYTES); | 112 | sendpacket(net, broadcast_ip_port[i], data, length); |
113 | 113 | ||
114 | return 1; | 114 | return 1; |
115 | } | 115 | } |