diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-14 09:56:11 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-14 09:56:11 +0800 |
commit | 9abcc7b909b6ff0f173405e73dc7c0c3d093e44a (patch) | |
tree | a6b29309918fa59d93491dc0fa7c396e12e65c1d /svr-tcpfwd.c | |
parent | 2c35f1c8fd7ded63a1e0a14fce01032697dac352 (diff) |
connect_remote() is now always non-blocking
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r-- | svr-tcpfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c index e5f219e..f2c4b93 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -270,7 +270,7 @@ static int newtcpdirect(struct Channel * channel) { } snprintf(portstring, sizeof(portstring), "%d", destport); - sock = connect_remote(desthost, portstring, 1, NULL); + sock = connect_remote(desthost, portstring, NULL); if (sock < 0) { err = SSH_OPEN_CONNECT_FAILED; TRACE(("leave newtcpdirect: sock failed")) |