From 9439d296f1c7b331ec0a579b4840b8b103ad55d6 Mon Sep 17 00:00:00 2001 From: "Coren[m]" Date: Mon, 9 Sep 2013 16:27:24 +0200 Subject: [PATCH] caught by autobuild, missing net->sock to net change --- toxcore/LAN_discovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index 73337539..bc73a6a1 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c @@ -71,7 +71,7 @@ static uint32_t send_broadcasts(Networking_Core *net, uint16_t port, uint8_t * d sock_holder = (struct sockaddr_in *)&i_faces[i].ifr_broadaddr; if (sock_holder != NULL) { IP_Port ip_port = {{{{sock_holder->sin_addr.s_addr}}, port, 0}}; - sendpacket(net->sock, ip_port, data, 1 + crypto_box_PUBLICKEYBYTES); + sendpacket(net, ip_port, data, 1 + crypto_box_PUBLICKEYBYTES); } }