diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-02-26 18:20:43 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-02-26 18:20:43 +0000 |
commit | dc4fbd2e97e5705ad4d93b05b2fff14e6b222320 (patch) | |
tree | 4571951431898f500edb397f0b6610bd1ba57c3d | |
parent | 60b029869f3f21ba73350793f8f7355f13d538cc (diff) |
Small fix.
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |