summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorKenny Root <kroot@android.com>2013-01-29 21:53:59 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-01-29 21:53:59 -0800
commit53e5b242317a079a6a194e21e5e06a91ab6a23d8 (patch)
treedeaa49362505467daa5d0e4b53cfa95a035f260c /adb
parentb94fd1abcbff1eacb8a2ad79c51de21ecf8f6d65 (diff)
parent6c3d3ccfa5d1d77b80e5c7619909a48b976c69ec (diff)
downloadsystem_core-53e5b242317a079a6a194e21e5e06a91ab6a23d8.zip
system_core-53e5b242317a079a6a194e21e5e06a91ab6a23d8.tar.gz
system_core-53e5b242317a079a6a194e21e5e06a91ab6a23d8.tar.bz2
am 6c3d3ccf: am d033739d: am d40fd86e: Merge "Windows adb: initialize on to 1 in disable_tcp_nagle"
# By Ray Donnelly # Via Android Git Automerger (2) and others * commit '6c3d3ccfa5d1d77b80e5c7619909a48b976c69ec': 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;