[BACK]Return to packet.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/packet.c between version 1.266 and 1.267

version 1.266, 2017/10/25 00:17:08 version 1.267, 2017/11/25 06:46:22
Line 1321 
Line 1321 
                 for (;;) {                  for (;;) {
                         if (state->packet_timeout_ms != -1) {                          if (state->packet_timeout_ms != -1) {
                                 ms_to_timeval(&timeout, ms_remain);                                  ms_to_timeval(&timeout, ms_remain);
                                 gettimeofday(&start, NULL);                                  monotime_tv(&start);
                         }                          }
                         if ((r = select(state->connection_in + 1, setp,                          if ((r = select(state->connection_in + 1, setp,
                             NULL, NULL, timeoutp)) >= 0)                              NULL, NULL, timeoutp)) >= 0)
Line 1946 
Line 1946 
                 for (;;) {                  for (;;) {
                         if (state->packet_timeout_ms != -1) {                          if (state->packet_timeout_ms != -1) {
                                 ms_to_timeval(&timeout, ms_remain);                                  ms_to_timeval(&timeout, ms_remain);
                                 gettimeofday(&start, NULL);                                  monotime_tv(&start);
                         }                          }
                         if ((ret = select(state->connection_out + 1,                          if ((ret = select(state->connection_out + 1,
                             NULL, setp, NULL, timeoutp)) >= 0)                              NULL, setp, NULL, timeoutp)) >= 0)

Legend:
Removed from v.1.266  
changed lines
  Added in v.1.267