[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.166 and 1.167

version 1.166, 2005/06/17 22:53:47 version 1.167, 2005/07/16 01:35:24
Line 400 
Line 400 
                 for (i = 0; i < sizeof(buf) - 1; i++) {                  for (i = 0; i < sizeof(buf) - 1; i++) {
                         size_t len = atomicio(read, connection_in, &buf[i], 1);                          size_t len = atomicio(read, connection_in, &buf[i], 1);
   
                         if (len != 1 && errno == EPIPE)                          if (len != 1 && errno == EPIPE)
                                 fatal("ssh_exchange_identification: Connection closed by remote host");                                  fatal("ssh_exchange_identification: Connection closed by remote host");
                         else if (len != 1)                          else if (len != 1)
                                 fatal("ssh_exchange_identification: read: %.100s", strerror(errno));                                  fatal("ssh_exchange_identification: read: %.100s", strerror(errno));

Legend:
Removed from v.1.166  
changed lines
  Added in v.1.167