Loading lib/connect.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -624,7 +624,7 @@ static void tcpnodelay(struct connectdata *conn, #ifdef HAVE_GETPROTOBYNAME #ifdef HAVE_GETPROTOBYNAME struct protoent *pe = getprotobyname("tcp"); struct protoent *pe = getprotobyname("tcp"); if (pe) if (pe) proto = p->p_proto; proto = pe->p_proto; #endif #endif if(setsockopt(sockfd, proto, TCP_NODELAY, (void *)&onoff, if(setsockopt(sockfd, proto, TCP_NODELAY, (void *)&onoff, Loading Loading
lib/connect.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -624,7 +624,7 @@ static void tcpnodelay(struct connectdata *conn, #ifdef HAVE_GETPROTOBYNAME #ifdef HAVE_GETPROTOBYNAME struct protoent *pe = getprotobyname("tcp"); struct protoent *pe = getprotobyname("tcp"); if (pe) if (pe) proto = p->p_proto; proto = pe->p_proto; #endif #endif if(setsockopt(sockfd, proto, TCP_NODELAY, (void *)&onoff, if(setsockopt(sockfd, proto, TCP_NODELAY, (void *)&onoff, Loading