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

Diff for /src/usr.bin/ssh/sshconnect.c between version 1.158.2.1 and 1.158.2.2

version 1.158.2.1, 2005/03/10 16:28:28 version 1.158.2.2, 2005/06/05 02:22:39
Line 243 
Line 243 
         tv.tv_sec = timeout;          tv.tv_sec = timeout;
         tv.tv_usec = 0;          tv.tv_usec = 0;
   
         for(;;) {          for (;;) {
                 rc = select(sockfd + 1, NULL, fdset, NULL, &tv);                  rc = select(sockfd + 1, NULL, fdset, NULL, &tv);
                 if (rc != -1 || errno != EINTR)                  if (rc != -1 || errno != EINTR)
                         break;                          break;
         }          }
   
         switch(rc) {          switch (rc) {
         case 0:          case 0:
                 /* Timed out */                  /* Timed out */
                 errno = ETIMEDOUT;                  errno = ETIMEDOUT;

Legend:
Removed from v.1.158.2.1  
changed lines
  Added in v.1.158.2.2