Windows adb: initialize on to 1 in disable_tcp_nagle

This commit is contained in:
Ray Donnelly 2013-01-11 16:36:00 +00:00
parent ef2ea99bfe
commit bbe26c1f79

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;