Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ftp oops, need to declare tos.
details: https://anonhg.NetBSD.org/src/rev/1976913d5874
branches: trunk
changeset: 474547:1976913d5874
user: christos <christos%NetBSD.org@localhost>
date: Sun Jul 11 00:41:59 1999 +0000
description:
oops, need to declare tos.
diffstat:
usr.bin/ftp/ftp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 03de22ac9112 -r 1976913d5874 usr.bin/ftp/ftp.c
--- a/usr.bin/ftp/ftp.c Sun Jul 11 00:34:37 1999 +0000
+++ b/usr.bin/ftp/ftp.c Sun Jul 11 00:41:59 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ftp.c,v 1.52 1999/07/10 20:46:42 christos Exp $ */
+/* $NetBSD: ftp.c,v 1.53 1999/07/11 00:41:59 christos Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@@ -67,7 +67,7 @@
#if 0
static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94";
#else
-__RCSID("$NetBSD: ftp.c,v 1.52 1999/07/10 20:46:42 christos Exp $");
+__RCSID("$NetBSD: ftp.c,v 1.53 1999/07/11 00:41:59 christos Exp $");
#endif
#endif /* not lint */
@@ -227,7 +227,7 @@
}
#if defined(IPPROTO_IP) && defined(IP_TOS)
if (hisctladdr.su_family == AF_INET) {
- tos = IPTOS_LOWDELAY;
+ int tos = IPTOS_LOWDELAY;
if (setsockopt(s, IPPROTO_IP, IP_TOS, (char *)&tos,
sizeof(int)) < 0)
warn("setsockopt TOS (ignored)");
Home |
Main Index |
Thread Index |
Old Index