From b4f43b4222eb033ee9af940641a00535f6091e95 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 7 Jul 2014 19:49:01 -0400 Subject: Fixed overflow bug. --- toxcore/group_chats.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'toxcore') diff --git a/toxcore/group_chats.c b/toxcore/group_chats.c index 1f76878b..53ef69d3 100644 --- a/toxcore/group_chats.c +++ b/toxcore/group_chats.c @@ -471,16 +471,6 @@ static int handle_sendnodes(Group_Chat *chat, IP_Port source, int peernum, const int ok = add_closepeer(chat, chat->group[peernum].client_id, source); - if (chat->assoc) { - ippts_send.ip_port = chat->group[peernum].ping_via; - ippts_send.timestamp = chat->group[peernum].last_pinged; - - IP_Port ipp_recv; - ipp_recv = source; - - Assoc_add_entry(chat->assoc, contents.nodes[i].client_id, &ippts_send, &ipp_recv, ok == 0 ? 1 : 0); - } - return 0; } -- cgit v1.2.3