summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-24 19:10:35 +0000
committerjoerg <joerg>2010-01-24 19:10:35 +0000
commit7f949e624f3076b7a5bfdd30b8726007df1b761d (patch)
treea5b2bab313e99b52cdda33aca70e791517d7a226 /net
parentc3be85c2d6e957729693b9667657d24ee25bc49f (diff)
downloadpkgsrc-7f949e624f3076b7a5bfdd30b8726007df1b761d.tar.gz
Fix a variable reference in TCP_NOPUSH case.
Diffstat (limited to 'net')
-rw-r--r--net/libfetch/files/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/http.c b/net/libfetch/files/http.c
index 2b93ec12cd8..4028178c754 100644
--- a/net/libfetch/files/http.c
+++ b/net/libfetch/files/http.c
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.28 2010/01/23 14:53:08 joerg Exp $ */
+/* $NetBSD: http.c,v 1.29 2010/01/24 19:10:35 joerg Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2003 Thomas Klausner <wiz@NetBSD.org>
@@ -329,7 +329,7 @@ http_closefn(void *v)
fetch_cache_put(io->conn, fetch_close);
#ifdef TCP_NOPUSH
val = 1;
- setsockopt(conn->sd, IPPROTO_TCP, TCP_NOPUSH, &val,
+ setsockopt(io->conn->sd, IPPROTO_TCP, TCP_NOPUSH, &val,
sizeof(val));
#endif
} else {