diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-24 19:10:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-24 19:10:35 +0000 |
commit | 7c02c3b7ffba55b3a8ec3cd272ac29f73c36d1b9 (patch) | |
tree | a5b2bab313e99b52cdda33aca70e791517d7a226 /net/libfetch | |
parent | 2a9f6430c93a6fb97da50e462bb73db7dedeb60e (diff) | |
download | pkgsrc-7c02c3b7ffba55b3a8ec3cd272ac29f73c36d1b9.tar.gz |
Fix a variable reference in TCP_NOPUSH case.
Diffstat (limited to 'net/libfetch')
-rw-r--r-- | net/libfetch/files/http.c | 4 |
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 { |