From 21f2af66311b1488fb1539c28eb8cd32fd74cd65 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sat, 14 Feb 2015 09:56:11 +0800 Subject: connect_remote() is now always non-blocking --- svr-tcpfwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svr-tcpfwd.c') 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")) -- cgit v1.2.1