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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.86 and 1.87

version 1.86, 2001/10/24 19:57:40 version 1.87, 2001/11/09 18:59:23
Line 346 
Line 346 
                 if (session_closed && !channel_still_open() &&                  if (session_closed && !channel_still_open() &&
                     !packet_have_data_to_write()) {                      !packet_have_data_to_write()) {
                         /* clear mask since we did not call select() */                          /* clear mask since we did not call select() */
                         memset(*readsetp, 0, *maxfdp);                          memset(*readsetp, 0, *nallocp);
                         memset(*writesetp, 0, *maxfdp);                          memset(*writesetp, 0, *nallocp);
                         return;                          return;
                 } else {                  } else {
                         FD_SET(connection_in, *readsetp);                          FD_SET(connection_in, *readsetp);
Line 375 
Line 375 
                  * We have to return, because the mainloop checks for the flags                   * We have to return, because the mainloop checks for the flags
                  * set by the signal handlers.                   * set by the signal handlers.
                  */                   */
                 memset(*readsetp, 0, *maxfdp);                  memset(*readsetp, 0, *nallocp);
                 memset(*writesetp, 0, *maxfdp);                  memset(*writesetp, 0, *nallocp);
   
                 if (errno == EINTR)                  if (errno == EINTR)
                         return;                          return;

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87