Return to packet.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.173, 2011/05/06 21:14:05 | version 1.174, 2011/12/07 05:44:38 | ||
---|---|---|---|
|
|
||
void | void | ||
packet_set_timeout(int timeout, int count) | packet_set_timeout(int timeout, int count) | ||
{ | { | ||
if (timeout == 0 || count == 0) { | if (timeout <= 0 || count <= 0) { | ||
active_state->packet_timeout_ms = -1; | active_state->packet_timeout_ms = -1; | ||
return; | return; | ||
} | } |