Mercurial > dropbear
diff cli-tcpfwd.c @ 1046:b8f4b7027191 coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 24 Feb 2015 22:48:34 +0800 |
parents | 4121ca987e6a |
children | 02baa0b334e8 |
line wrap: on
line diff
--- a/cli-tcpfwd.c Tue Feb 10 21:47:43 2015 +0800 +++ b/cli-tcpfwd.c Tue Feb 24 22:48:34 2015 +0800 @@ -254,7 +254,7 @@ } snprintf(portstring, sizeof(portstring), "%d", fwd->connectport); - sock = connect_remote(fwd->connectaddr, portstring, 1, NULL); + sock = connect_remote(fwd->connectaddr, portstring, NULL); if (sock < 0) { TRACE(("leave newtcpdirect: sock failed")) err = SSH_OPEN_CONNECT_FAILED;