Comment out useless TODO'd if block.

The condition is a potential use after free, because `connection_kill` before it
will delete the `conn` that is dereferenced.
This commit is contained in:
iphydf committed 2016-08-26 20:45:29 +01:00
1 parent a3f9893e89
commit eb8a3e7a7c
1 file changed
+4 -1
+4 -1
View File
@@ -2669,12 +2669,15 @@ static void kill_timedout(Net_Crypto *c)
continue;
connection_kill(c, i);
}
#if 0
if (conn->status == CRYPTO_CONN_ESTABLISHED) {
//TODO: add a timeout here?
}
#endif
}
}