Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rtadvd Don't compare an int to NULL.
details: https://anonhg.NetBSD.org/src/rev/4520a9bb4889
branches: trunk
changeset: 553778:4520a9bb4889
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Oct 21 03:01:44 2003 +0000
description:
Don't compare an int to NULL.
diffstat:
usr.sbin/rtadvd/rrenum.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b15037820433 -r 4520a9bb4889 usr.sbin/rtadvd/rrenum.c
--- a/usr.sbin/rtadvd/rrenum.c Tue Oct 21 03:00:41 2003 +0000
+++ b/usr.sbin/rtadvd/rrenum.c Tue Oct 21 03:01:44 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rrenum.c,v 1.10 2002/07/10 21:11:44 itojun Exp $ */
+/* $NetBSD: rrenum.c,v 1.11 2003/10/21 03:01:44 fvdl Exp $ */
/* $KAME: rrenum.c,v 1.10 2001/01/21 15:32:16 itojun Exp $ */
/*
@@ -243,7 +243,7 @@
int ifindex = 0;
struct in6_rrenumreq irr;
- if ((rr_pco_check(len, rpm) != NULL))
+ if ((rr_pco_check(len, rpm) != 0))
return 1;
if (s == -1 && (s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
Home |
Main Index |
Thread Index |
Old Index