summaryrefslogtreecommitdiff
path: root/net/libfetch
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-24 19:10:35 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-24 19:10:35 +0000
commit7f2c7f988927183720d2ee24150d3b461ad7238f (patch)
treea5b2bab313e99b52cdda33aca70e791517d7a226 /net/libfetch
parent7e8b0351a6f8338916f217c5f8482fc0604c089e (diff)
downloadpkgsrc-7f2c7f988927183720d2ee24150d3b461ad7238f.tar.gz
Fix a variable reference in TCP_NOPUSH case.
Diffstat (limited to 'net/libfetch')
-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 {