[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.72 and 1.73

version 1.72, 2021/01/27 09:26:54 version 1.73, 2021/05/19 01:24:05
Line 382 
Line 382 
                             c->istate, c->ostate, strerror(errno));                              c->istate, c->ostate, strerror(errno));
                 }                  }
         } else {          } else {
                 if (channel_close_fd(ssh, &c->wfd) < 0) {                  if (channel_close_fd(ssh, c, &c->wfd) < 0) {
                         logit_f("channel %d: close() failed for "                          logit_f("channel %d: close() failed for "
                             "fd %d [i%d o%d]: %.100s", c->self, c->wfd,                              "fd %d [i%d o%d]: %.100s", c->self, c->wfd,
                             c->istate, c->ostate, strerror(errno));                              c->istate, c->ostate, strerror(errno));
Line 405 
Line 405 
                             c->istate, c->ostate, strerror(errno));                              c->istate, c->ostate, strerror(errno));
                 }                  }
         } else {          } else {
                 if (channel_close_fd(ssh, &c->rfd) < 0) {                  if (channel_close_fd(ssh, c, &c->rfd) < 0) {
                         logit_f("channel %d: close() failed for "                          logit_f("channel %d: close() failed for "
                             "fd %d [i%d o%d]: %.100s", c->self, c->rfd,                              "fd %d [i%d o%d]: %.100s", c->self, c->rfd,
                             c->istate, c->ostate, strerror(errno));                              c->istate, c->ostate, strerror(errno));
Line 424 
Line 424 
         debug_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",          debug_f("channel %d: (i%d o%d sock %d wfd %d efd %d [%s])",
             c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd,              c->self, c->istate, c->ostate, c->sock, c->rfd, c->efd,
             channel_format_extended_usage(c));              channel_format_extended_usage(c));
         if (channel_close_fd(ssh, &c->efd) < 0) {          if (channel_close_fd(ssh, c, &c->efd) < 0) {
                 logit_f("channel %d: close() failed for "                  logit_f("channel %d: close() failed for "
                     "extended fd %d [i%d o%d]: %.100s", c->self, c->efd,                      "extended fd %d [i%d o%d]: %.100s", c->self, c->efd,
                     c->istate, c->ostate, strerror(errno));                      c->istate, c->ostate, strerror(errno));

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73