am d40fd86e: Merge "Windows adb: initialize on to 1 in disable_tcp_nagle"

# By Ray Donnelly
# Via Gerrit Code Review (1) and Ray Donnelly (1)
* commit 'd40fd86ec5bdf56e8cd5a702ffc5332b6de931e4':
  Windows adb: initialize on to 1 in disable_tcp_nagle
This commit is contained in:
Kenny Root 2013-01-29 21:49:36 -08:00 committed by Android Git Automerger
commit d033739d17
1 changed files with 1 additions and 1 deletions

View File

@ -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;