Lines 2566-2572
channel_handler(struct ssh *ssh, int table, struct tim
Link Here
|
2566 |
if (table == CHAN_PRE && |
2566 |
if (table == CHAN_PRE && |
2567 |
c->type == SSH_CHANNEL_OPEN && |
2567 |
c->type == SSH_CHANNEL_OPEN && |
2568 |
c->inactive_deadline != 0 && c->lastused != 0 && |
2568 |
c->inactive_deadline != 0 && c->lastused != 0 && |
2569 |
now >= c->lastused + c->inactive_deadline) { |
2569 |
now >= c->lastused + (time_t) c->inactive_deadline) { |
2570 |
/* channel closed for inactivity */ |
2570 |
/* channel closed for inactivity */ |
2571 |
verbose("channel %d: closing after %u seconds " |
2571 |
verbose("channel %d: closing after %u seconds " |
2572 |
"of inactivity", c->self, |
2572 |
"of inactivity", c->self, |