version 1.72, 2021/01/27 09:26:54 |
version 1.73, 2021/05/19 01:24:05 |
|
|
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)); |
|
|
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)); |
|
|
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)); |