From bbe26c1f79bf860dde9cfbe8cd4ad826cd1a8a53 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Fri, 11 Jan 2013 16:36:00 +0000 Subject: Windows adb: initialize on to 1 in disable_tcp_nagle --- adb/sysdeps_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adb') diff --git a/adb/sysdeps_win32.c b/adb/sysdeps_win32.c index d41c42c..2105b16 100644 --- a/adb/sysdeps_win32.c +++ b/adb/sysdeps_win32.c @@ -781,7 +781,7 @@ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrle void disable_tcp_nagle(int fd) { FH fh = _fh_from_int(fd); - int on; + int on = 1; if ( !fh || fh->clazz != &_fh_socket_class ) return; -- cgit v1.1