Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 PR 51434 David Binderman: remove redundant test.
details: https://anonhg.NetBSD.org/src/rev/1704938aa44a
branches: trunk
changeset: 347446:1704938aa44a
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Aug 26 21:48:31 2016 +0000
description:
PR 51434 David Binderman: remove redundant test.
diffstat:
sys/netinet6/icmp6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 79691ff2c15b -r 1704938aa44a sys/netinet6/icmp6.c
--- a/sys/netinet6/icmp6.c Fri Aug 26 21:44:24 2016 +0000
+++ b/sys/netinet6/icmp6.c Fri Aug 26 21:48:31 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: icmp6.c,v 1.196 2016/08/19 12:26:01 roy Exp $ */
+/* $NetBSD: icmp6.c,v 1.197 2016/08/26 21:48:31 dholland Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.196 2016/08/19 12:26:01 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: icmp6.c,v 1.197 2016/08/26 21:48:31 dholland Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1533,7 +1533,7 @@
*/
i = 0;
for (p = name; p < name + namelen; p++) {
- if (*p && *p == '.')
+ if (*p == '.')
i++;
}
if (i < 2)
Home |
Main Index |
Thread Index |
Old Index