diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-18 00:37:45 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-18 17:10:15 +0100 |
commit | 6935643f9aca68c135161a4e3bf046cbd075000c (patch) | |
tree | c5ce6174304d16444021761b2f7a5d70fe9b8f1c /toxcore/onion_client.c | |
parent | 390fcb6c27b757b02c0e61776f920f32fcc77dcf (diff) |
Fix some compiler warnings.
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r-- | toxcore/onion_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index b1a5352c..717737ad 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c | |||
@@ -776,7 +776,7 @@ static int handle_tcp_onion(void *object, const uint8_t *data, uint16_t length, | |||
776 | if (length == 0) | 776 | if (length == 0) |
777 | return 1; | 777 | return 1; |
778 | 778 | ||
779 | IP_Port ip_port = {0}; | 779 | IP_Port ip_port = {{0}}; |
780 | ip_port.ip.family = TCP_FAMILY; | 780 | ip_port.ip.family = TCP_FAMILY; |
781 | 781 | ||
782 | if (data[0] == NET_PACKET_ANNOUNCE_RESPONSE) { | 782 | if (data[0] == NET_PACKET_ANNOUNCE_RESPONSE) { |