Commit dc4fbd2e authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Small fix.

parent 60b02986
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,