pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch/files Fix a variable reference in TCP_NOP...
details: https://anonhg.NetBSD.org/pkgsrc/rev/25d17f4956a0
branches: trunk
changeset: 570064:25d17f4956a0
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Jan 24 19:10:35 2010 +0000
description:
Fix a variable reference in TCP_NOPUSH case.
diffstat:
net/libfetch/files/http.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5bab12e970a0 -r 25d17f4956a0 net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Sun Jan 24 17:26:21 2010 +0000
+++ b/net/libfetch/files/http.c Sun Jan 24 19:10:35 2010 +0000
@@ -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@localhost>
@@ -329,7 +329,7 @@
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 {
Home |
Main Index |
Thread Index |
Old Index