diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-07-03 20:34:19 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-07-03 20:34:19 +1000 |
commit | 9d5e31f55d5f3899b72645bac41a932d298ad73b (patch) | |
tree | d87e8f8e0c4bdaa397705c29d33c4add479825b4 /channels.c | |
parent | 888c459925c7478ce22ff206c9ac1fb812a40caf (diff) |
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.
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |