From: Darren Tucker Date: Sat, 3 Jul 2021 10:34:19 +0000 (+1000) Subject: Remove duplicate error on error path. X-Git-Tag: V_8_7_P1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d5e31f55d5f3899b72645bac41a932d298ad73b;p=thirdparty%2Fopenssh-portable.git 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. --- diff --git a/channels.c b/channels.c index a0163be7b..fd72f371d 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, strerror(errno)); close(sock);