Module Name: src
Committed By: jld
Date: Wed Apr 15 03:42:33 UTC 2009
Modified Files:
src/usr.bin/ftp: ftp.c
Log Message:
Unbreak the build by adding curly braces to placate the empty-body warning.
To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/usr.bin/ftp/ftp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ftp/ftp.c
diff -u src/usr.bin/ftp/ftp.c:1.158 src/usr.bin/ftp/ftp.c:1.159
--- src/usr.bin/ftp/ftp.c:1.158 Sun Apr 12 10:18:52 2009
+++ src/usr.bin/ftp/ftp.c Wed Apr 15 03:42:33 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ftp.c,v 1.158 2009/04/12 10:18:52 lukem Exp $ */
+/* $NetBSD: ftp.c,v 1.159 2009/04/15 03:42:33 jld Exp $ */
/*-
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
#if 0
static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94";
#else
-__RCSID("$NetBSD: ftp.c,v 1.158 2009/04/12 10:18:52 lukem Exp $");
+__RCSID("$NetBSD: ftp.c,v 1.159 2009/04/15 03:42:33 jld Exp $");
#endif
#endif /* not lint */
@@ -1624,8 +1624,9 @@
if (data_addr.su_family == AF_INET) {
on = IPTOS_THROUGHPUT;
if (setsockopt(data, IPPROTO_IP, IP_TOS,
- (void *)&on, sizeof(on)) == -1)
+ (void *)&on, sizeof(on)) == -1) {
DWARN("setsockopt %s (ignored)", "IPTOS_THROUGHPUT");
+ }
}
#endif
return (0);