summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client.c b/client.c
index 0e8fc18..20243e5 100644
--- a/client.c
+++ b/client.c
@@ -576,6 +576,9 @@ int do_client_loop(uint8_t *tox_id_str)
576 576
577 fds = client_master_fdset; 577 fds = client_master_fdset;
578 578
579 /* Check friend connection status changes */
580 /* TODO: learned about tox_friend_connection_status_cb after writing this... */
581 /* TODO: also check friend status tox_callback_friend_status */
579 if(time(NULL) - last_friend_connection_status_received > 15) 582 if(time(NULL) - last_friend_connection_status_received > 15)
580 { 583 {
581 TOX_CONNECTION friend_connection_status; 584 TOX_CONNECTION friend_connection_status;