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
commit7c02c3b7ffba55b3a8ec3cd272ac29f73c36d1b9 (patch)
treea5b2bab313e99b52cdda33aca70e791517d7a226 /net/libfetch
parent2a9f6430c93a6fb97da50e462bb73db7dedeb60e (diff)
downloadpkgsrc-7c02c3b7ffba55b3a8ec3cd272ac29f73c36d1b9.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 {