summaryrefslogtreecommitdiffhomepage
path: root/cli-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-14 09:56:11 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-14 09:56:11 +0800
commit9abcc7b909b6ff0f173405e73dc7c0c3d093e44a (patch)
treea6b29309918fa59d93491dc0fa7c396e12e65c1d /cli-main.c
parent2c35f1c8fd7ded63a1e0a14fce01032697dac352 (diff)
connect_remote() is now always non-blocking
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli-main.c b/cli-main.c
index 20f19a4..a956721 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -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;
}