summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorKenny Root <kroot@android.com>2013-01-30 05:43:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-01-30 05:43:33 +0000
commitd40fd86ec5bdf56e8cd5a702ffc5332b6de931e4 (patch)
tree40414e553e755bbefccbd38fdf49de83eb25895b /adb
parentb94b038df58cb13ae2073a28d5264bf9162d5be5 (diff)
parentbbe26c1f79bf860dde9cfbe8cd4ad826cd1a8a53 (diff)
downloadsystem_core-d40fd86ec5bdf56e8cd5a702ffc5332b6de931e4.zip
system_core-d40fd86ec5bdf56e8cd5a702ffc5332b6de931e4.tar.gz
system_core-d40fd86ec5bdf56e8cd5a702ffc5332b6de931e4.tar.bz2
Merge "Windows adb: initialize on to 1 in disable_tcp_nagle"
Diffstat (limited to 'adb')
-rw-r--r--adb/sysdeps_win32.c2
1 files changed, 1 insertions, 1 deletions
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;