Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbe26c1f authored by Ray Donnelly's avatar Ray Donnelly
Browse files

Windows adb: initialize on to 1 in disable_tcp_nagle

parent ef2ea99b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;