summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index db5390c0..752b164d 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -2172,7 +2172,7 @@ void do_friends(Messenger *m)
2172 } 2172 }
2173 2173
2174 if (m->friendlist[i].ping_lastrecv + FRIEND_CONNECTION_TIMEOUT < temp_time) { 2174 if (m->friendlist[i].ping_lastrecv + FRIEND_CONNECTION_TIMEOUT < temp_time) {
2175 /* If we stopped recieving ping packets, kill it. */ 2175 /* If we stopped receiving ping packets, kill it. */
2176 crypto_kill(m->net_crypto, m->friendlist[i].crypt_connection_id); 2176 crypto_kill(m->net_crypto, m->friendlist[i].crypt_connection_id);
2177 m->friendlist[i].crypt_connection_id = -1; 2177 m->friendlist[i].crypt_connection_id = -1;
2178 set_friend_status(m, i, FRIEND_CONFIRMED); 2178 set_friend_status(m, i, FRIEND_CONFIRMED);