From: Gisle Vanem Date: Sun, 26 Feb 2006 18:20:43 +0000 (+0000) Subject: Small fix. X-Git-Tag: curl-7_15_2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc4fbd2e97e5705ad4d93b05b2fff14e6b222320;p=curl Small fix. --- diff --git a/lib/connect.c b/lib/connect.c index 427a87431..b1186f267 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -624,7 +624,7 @@ static void tcpnodelay(struct connectdata *conn, #ifdef HAVE_GETPROTOBYNAME struct protoent *pe = getprotobyname("tcp"); if (pe) - proto = p->p_proto; + proto = pe->p_proto; #endif if(setsockopt(sockfd, proto, TCP_NODELAY, (void *)&onoff,