summaryrefslogtreecommitdiff
path: root/toxcore/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/network.c')
-rw-r--r--toxcore/network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/network.c b/toxcore/network.c
index 38adc179..5d695b81 100644
--- a/toxcore/network.c
+++ b/toxcore/network.c
@@ -227,7 +227,7 @@ int sendpacket(Networking_Core *net, IP_Port ip_port, uint8_t *data, uint32_t le
227 * Packet length is put into length. 227 * Packet length is put into length.
228 * Dump all empty packets. 228 * Dump all empty packets.
229 */ 229 */
230static int receivepacket(sock_t sock, IP_Port *ip_port, uint8_t *data, uint32_t *length) 230int receivepacket(sock_t sock, IP_Port *ip_port, uint8_t *data, uint32_t *length)
231{ 231{
232 struct sockaddr_storage addr; 232 struct sockaddr_storage addr;
233#ifdef WIN32 233#ifdef WIN32
@@ -667,6 +667,7 @@ void kill_networking(Networking_Core *net)
667 return; 667 return;
668} 668}
669 669
670
670/* ip_equal 671/* ip_equal
671 * compares two IPAny structures 672 * compares two IPAny structures
672 * unset means unequal 673 * unset means unequal