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 /cli-main.c | |
parent | 2c35f1c8fd7ded63a1e0a14fce01032697dac352 (diff) |
connect_remote() is now always non-blocking
Diffstat (limited to 'cli-main.c')
-rw-r--r-- | cli-main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -72,8 +72,7 @@ int main(int argc, char ** argv) { } 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; } |