[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.144 and 1.145

version 1.144, 2021/12/02 23:45:36 version 1.145, 2022/01/21 00:53:40
Line 572 
Line 572 
         else          else
                 timespecclear(&seltime);                  timespecclear(&seltime);
   
         while (ppoll(read_wait, maxfd, &seltime, NULL) == -1 &&          while (ppoll(read_wait, maxfd, &seltime, NULL) == -1) {
             (errno == EAGAIN || errno == EINTR))                  if (errno == EAGAIN || errno == EINTR)
                 ;                          continue;
                   error("poll error");
           }
   
         for (i = 0; i < maxfd; i++) {          for (i = 0; i < maxfd; i++) {
                 if (read_wait[i].revents & (POLLHUP|POLLERR|POLLNVAL))                  if (read_wait[i].revents & (POLLHUP|POLLERR|POLLNVAL))

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.145