[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.50 and 1.51

version 1.50, 2001/02/12 22:56:08 version 1.51, 2001/02/13 21:51:09
Line 407 
Line 407 
         if (select((*maxfdp)+1, *readsetp, *writesetp, NULL, NULL) < 0) {          if (select((*maxfdp)+1, *readsetp, *writesetp, NULL, NULL) < 0) {
                 char buf[100];                  char buf[100];
   
                   /*
                    * We have to clear the select masks, because we return.
                    * We have to return, because the mainloop checks for the flags
                    * set by the signal handlers.
                    */
                   memset(*readsetp, 0, *maxfdp);
                   memset(*writesetp, 0, *maxfdp);
   
                 if (errno == EINTR)                  if (errno == EINTR)
                         return;                          return;
                 /* Note: we might still have data in the buffers. */                  /* Note: we might still have data in the buffers. */

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51