Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/tftpd CID 976523: add FALLTHROUGH
details: https://anonhg.NetBSD.org/src/rev/1d9d69f5896d
branches: trunk
changeset: 346591:1d9d69f5896d
user: shm <shm%NetBSD.org@localhost>
date: Wed Jul 20 20:18:21 2016 +0000
description:
CID 976523: add FALLTHROUGH
diffstat:
libexec/tftpd/tftpd.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 4a47fda5130c -r 1d9d69f5896d libexec/tftpd/tftpd.c
--- a/libexec/tftpd/tftpd.c Wed Jul 20 20:06:04 2016 +0000
+++ b/libexec/tftpd/tftpd.c Wed Jul 20 20:18:21 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tftpd.c,v 1.44 2015/05/05 05:50:31 buhrow Exp $ */
+/* $NetBSD: tftpd.c,v 1.45 2016/07/20 20:18:21 shm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "@(#)tftpd.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: tftpd.c,v 1.44 2015/05/05 05:50:31 buhrow Exp $");
+__RCSID("$NetBSD: tftpd.c,v 1.45 2016/07/20 20:18:21 shm Exp $");
#endif
#endif /* not lint */
@@ -1018,6 +1018,7 @@
(void) synchnet(peer, tftp_blksize);
if (ap->th_block == (u_short)(block - 1))
goto send_data;
+ /* FALLTHROUGH */
default:
syslog(LOG_INFO, "Received %s in sendfile\n",
opcode(dp->th_opcode));
Home |
Main Index |
Thread Index |
Old Index