Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libpcap/dist Simplify to avoid negation-only-ap...
details: https://anonhg.NetBSD.org/src/rev/156ec78c5bff
branches: trunk
changeset: 340231:156ec78c5bff
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Aug 28 11:20:55 2015 +0000
description:
Simplify to avoid negation-only-applies-to-LHS warning.
diffstat:
external/bsd/libpcap/dist/pcap-common.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4b7e5534f64f -r 156ec78c5bff external/bsd/libpcap/dist/pcap-common.c
--- a/external/bsd/libpcap/dist/pcap-common.c Fri Aug 28 09:42:07 2015 +0000
+++ b/external/bsd/libpcap/dist/pcap-common.c Fri Aug 28 11:20:55 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcap-common.c,v 1.3 2015/03/31 21:39:42 christos Exp $ */
+/* $NetBSD: pcap-common.c,v 1.4 2015/08/28 11:20:55 joerg Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996, 1997
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pcap-common.c,v 1.3 2015/03/31 21:39:42 christos Exp $");
+__RCSID("$NetBSD: pcap-common.c,v 1.4 2015/08/28 11:20:55 joerg Exp $");
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1326,7 +1326,7 @@
return;
}
- if (!(nfhdr->nflog_version) == 0) {
+ if (nfhdr->nflog_version != 0) {
/* Unknown NFLOG version */
return;
}
Home |
Main Index |
Thread Index |
Old Index