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

Diff for /src/usr.bin/ssh/packet.c between version 1.17 and 1.18

version 1.17, 1999/12/02 20:16:34 version 1.18, 1999/12/15 20:03:23
Line 415 
Line 415 
   
                 /* Read data from the socket. */                  /* Read data from the socket. */
                 len = read(connection_in, buf, sizeof(buf));                  len = read(connection_in, buf, sizeof(buf));
                 if (len == 0)                  if (len == 0) {
                         fatal("Connection closed by %.200s", get_remote_ipaddr());                          log("Connection closed by %.200s", get_remote_ipaddr());
                           fatal_cleanup();
                   }
                 if (len < 0)                  if (len < 0)
                         fatal("Read from socket failed: %.100s", strerror(errno));                          fatal("Read from socket failed: %.100s", strerror(errno));
                 /* Append it to the buffer. */                  /* Append it to the buffer. */

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18