[openssh-commits] [openssh] 02/04: Remove duplicate error on error path.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Jul 3 20:38:44 AEST 2021

This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 9d5e31f55d5f3899b72645bac41a932d298ad73b
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Jul 3 20:34:19 2021 +1000

    Remove duplicate error on error path.
    There's an extra error() call on the listen error path, it looks like
    its removal was missed during an upstream sync.
 channels.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/channels.c b/channels.c
index a0163be7..fd72f371 100644
--- a/channels.c
+++ b/channels.c
@@ -3448,7 +3448,6 @@ channel_setup_fwd_listener_tcpip(struct ssh *ssh, int type,
 		/* Start listening for connections on the socket. */
 		if (listen(sock, SSH_LISTEN_BACKLOG) == -1) {
-			error("listen: %.100s", strerror(errno));
 			error("listen [%s]:%s: %.100s", ntop, strport,

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list