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 2016-08-26 15:51:29 +01:00
parent a3f9893e89
commit eb8a3e7a7c
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

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
}
}