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

Diff for /src/usr.bin/ssh/nchan.c between version 1.69 and 1.70

version 1.69, 2018/10/04 07:47:35 version 1.70, 2019/06/28 13:35:04
Line 378 
Line 378 
             c->self, __func__, c->istate, c->ostate, c->sock, c->wfd, c->efd,              c->self, __func__, c->istate, c->ostate, c->sock, c->wfd, c->efd,
             channel_format_extended_usage(c));              channel_format_extended_usage(c));
         if (c->sock != -1) {          if (c->sock != -1) {
                 if (shutdown(c->sock, SHUT_WR) < 0) {                  if (shutdown(c->sock, SHUT_WR) == -1) {
                         debug2("channel %d: %s: shutdown() failed for "                          debug2("channel %d: %s: shutdown() failed for "
                             "fd %d [i%d o%d]: %.100s", c->self, __func__,                              "fd %d [i%d o%d]: %.100s", c->self, __func__,
                             c->sock, c->istate, c->ostate,                              c->sock, c->istate, c->ostate,
Line 403 
Line 403 
             c->self, __func__, c->istate, c->ostate, c->sock, c->rfd, c->efd,              c->self, __func__, c->istate, c->ostate, c->sock, c->rfd, c->efd,
             channel_format_extended_usage(c));              channel_format_extended_usage(c));
         if (c->sock != -1) {          if (c->sock != -1) {
                 if (shutdown(c->sock, SHUT_RD) < 0) {                  if (shutdown(c->sock, SHUT_RD) == -1) {
                         error("channel %d: %s: shutdown() failed for "                          error("channel %d: %s: shutdown() failed for "
                             "fd %d [i%d o%d]: %.100s",                              "fd %d [i%d o%d]: %.100s",
                             c->self, __func__, c->sock, c->istate, c->ostate,                              c->self, __func__, c->sock, c->istate, c->ostate,

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70