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

Diff for /src/usr.bin/ssh/sftp-client.c between version 1.126 and 1.127

version 1.126, 2017/01/03 05:46:51 version 1.127, 2017/08/11 04:41:08
Line 126 
Line 126 
                 fatal("%s: buffer error: %s", __func__, ssh_err(r));                  fatal("%s: buffer error: %s", __func__, ssh_err(r));
         if (atomicio6(read, conn->fd_in, p, 4,          if (atomicio6(read, conn->fd_in, p, 4,
             conn->limit_kbps > 0 ? sftpio : NULL, &conn->bwlimit_in) != 4) {              conn->limit_kbps > 0 ? sftpio : NULL, &conn->bwlimit_in) != 4) {
                 if (errno == EPIPE)                  if (errno == EPIPE || errno == ECONNRESET)
                         fatal("Connection closed");                          fatal("Connection closed");
                 else                  else
                         fatal("Couldn't read packet: %s", strerror(errno));                          fatal("Couldn't read packet: %s", strerror(errno));

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.127