diff cli-main.c @ 1016:257f7d5fca97

piggyback data on acks when making connections on linux
author Matt Johnston <matt@ucc.asn.au>
date Fri, 13 Feb 2015 22:49:15 +0800
parents 5daedffd0769
children 4121ca987e6a
line wrap: on
line diff
--- a/cli-main.c	Fri Feb 13 21:45:15 2015 +0800
+++ b/cli-main.c	Fri Feb 13 22:49:15 2015 +0800
@@ -73,7 +73,7 @@
 #endif
 	{
 		int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, 
-				0, &error);
+				1, &error);
 		sock_in = sock_out = sock;
 	}