diff options
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r-- | toxcore/net_crypto.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 381b0a50..cd100c4a 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -2669,12 +2669,15 @@ static void kill_timedout(Net_Crypto *c) | |||
2669 | continue; | 2669 | continue; |
2670 | 2670 | ||
2671 | connection_kill(c, i); | 2671 | connection_kill(c, i); |
2672 | |||
2673 | } | 2672 | } |
2674 | 2673 | ||
2674 | #if 0 | ||
2675 | |||
2675 | if (conn->status == CRYPTO_CONN_ESTABLISHED) { | 2676 | if (conn->status == CRYPTO_CONN_ESTABLISHED) { |
2676 | //TODO: add a timeout here? | 2677 | //TODO: add a timeout here? |
2677 | } | 2678 | } |
2679 | |||
2680 | #endif | ||
2678 | } | 2681 | } |
2679 | } | 2682 | } |
2680 | 2683 | ||