Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/crypto/external/bsd/openssh/dist/nchan.c,v rcsdiff: /ftp/cvs/cvsroot/src/crypto/external/bsd/openssh/dist/nchan.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1.1.7 retrieving revision 1.1.1.8 diff -u -p -r1.1.1.7 -r1.1.1.8 --- src/crypto/external/bsd/openssh/dist/nchan.c 2021/03/05 17:45:25 1.1.1.7 +++ src/crypto/external/bsd/openssh/dist/nchan.c 2021/09/02 11:22:29 1.1.1.8 @@ -1,4 +1,4 @@ -/* $OpenBSD: nchan.c,v 1.72 2021/01/27 09:26:54 djm Exp $ */ +/* $OpenBSD: nchan.c,v 1.73 2021/05/19 01:24:05 djm Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -382,7 +382,7 @@ chan_shutdown_write(struct ssh *ssh, Cha c->istate, c->ostate, strerror(errno)); } } 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 " "fd %d [i%d o%d]: %.100s", c->self, c->wfd, c->istate, c->ostate, strerror(errno)); @@ -405,7 +405,7 @@ chan_shutdown_read(struct ssh *ssh, Chan c->istate, c->ostate, strerror(errno)); } } 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 " "fd %d [i%d o%d]: %.100s", c->self, c->rfd, c->istate, c->ostate, strerror(errno)); @@ -424,7 +424,7 @@ chan_shutdown_extended_read(struct ssh * 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, 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 " "extended fd %d [i%d o%d]: %.100s", c->self, c->efd, c->istate, c->ostate, strerror(errno));