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

Diff for /src/usr.bin/ssh/ssh-keyscan.c between version 1.6 and 1.7

version 1.6, 2000/12/19 23:17:58 version 1.7, 2001/01/08 22:03:23
Line 290 
Line 290 
                         error("socket: %s", strerror(errno));                          error("socket: %s", strerror(errno));
                         continue;                          continue;
                 }                  }
                 if (fcntl(s, F_SETFL, O_NDELAY) < 0)                  if (fcntl(s, F_SETFL, O_NONBLOCK) < 0)
                         fatal("F_SETFL: %s", strerror(errno));                          fatal("F_SETFL: %s", strerror(errno));
                 if (connect(s, ai->ai_addr, ai->ai_addrlen) < 0 &&                  if (connect(s, ai->ai_addr, ai->ai_addrlen) < 0 &&
                     errno != EINPROGRESS)                      errno != EINPROGRESS)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7