# By Ray Donnelly # Via Android Git Automerger (1) and others * commit 'd033739d176f8a2da99f80ef4a03bdca0649b644': Windows adb: initialize on to 1 in disable_tcp_nagle
This commit is contained in:
commit
6c3d3ccfa5
1 changed files with 1 additions and 1 deletions
|
|
@ -781,7 +781,7 @@ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrle
|
||||||
void disable_tcp_nagle(int fd)
|
void disable_tcp_nagle(int fd)
|
||||||
{
|
{
|
||||||
FH fh = _fh_from_int(fd);
|
FH fh = _fh_from_int(fd);
|
||||||
int on;
|
int on = 1;
|
||||||
|
|
||||||
if ( !fh || fh->clazz != &_fh_socket_class )
|
if ( !fh || fh->clazz != &_fh_socket_class )
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue