Native fixed crash recently introduced

This commit is contained in:
M66B 2016-01-24 14:10:02 +01:00
parent c5f1b3ebd3
commit 2ca17cd4a7
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ void check_sessions(const struct arguments *args) {
if (t->state != TCP_TIME_WAIT && t->state != TCP_CLOSE && t->time + timeout < now) { if (t->state != TCP_TIME_WAIT && t->state != TCP_CLOSE && t->time + timeout < now) {
// TODO send keep alives? // TODO send keep alives?
log_android(ANDROID_LOG_WARN, "Idle %d/%d sec from %s/%u to %s/%u state %s", log_android(ANDROID_LOG_WARN, "Idle %d/%d sec from %s/%u to %s/%u state %s",
now - u->time, timeout, now - t->time, timeout,
source, ntohs(t->source), dest, ntohs(t->dest), strstate(t->state)); source, ntohs(t->source), dest, ntohs(t->dest), strstate(t->state));
write_rst(args, t); write_rst(args, t);