Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet inpcb: use NULL
details: https://anonhg.NetBSD.org/src/rev/8b4b1d93e2e2
branches: trunk
changeset: 372255:8b4b1d93e2e2
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Fri Nov 04 09:03:56 2022 +0000
description:
inpcb: use NULL
diffstat:
sys/netinet/in_pcb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r d3515cadfe82 -r 8b4b1d93e2e2 sys/netinet/in_pcb.c
--- a/sys/netinet/in_pcb.c Fri Nov 04 09:03:20 2022 +0000
+++ b/sys/netinet/in_pcb.c Fri Nov 04 09:03:56 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_pcb.c,v 1.198 2022/11/04 09:03:20 ozaki-r Exp $ */
+/* $NetBSD: in_pcb.c,v 1.199 2022/11/04 09:03:56 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -93,7 +93,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.198 2022/11/04 09:03:20 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.199 2022/11/04 09:03:56 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -747,7 +747,7 @@
in_port_t fport = fport_arg, lport = lport_arg;
int nmatch;
- if (in_nullhost(faddr) || notify == 0)
+ if (in_nullhost(faddr) || notify == NULL)
return (0);
nmatch = 0;
@@ -773,7 +773,7 @@
{
struct inpcb *inp;
- if (in_nullhost(faddr) || notify == 0)
+ if (in_nullhost(faddr) || notify == NULL)
return;
TAILQ_FOREACH(inp, &table->inpt_queue, inp_queue) {
Home |
Main Index |
Thread Index |
Old Index