summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--channels.c1
1 files changed, 0 insertions, 1 deletions
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);