Mercurial > dropbear
diff cli-main.c @ 1022:4121ca987e6a
connect_remote() is now always non-blocking
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 14 Feb 2015 09:56:11 +0800 |
parents | 257f7d5fca97 |
children | 02baa0b334e8 |
line wrap: on
line diff
--- a/cli-main.c Fri Feb 13 23:47:53 2015 +0800 +++ b/cli-main.c Sat Feb 14 09:56:11 2015 +0800 @@ -72,8 +72,7 @@ } else #endif { - int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, - 1, &error); + int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, &error); sock_in = sock_out = sock; }