diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-01-20 02:22:32 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-01-20 02:22:32 +0000 |
commit | 018bcb04e724d523126fcbef3abb49503a68f9a6 (patch) | |
tree | 785b198eb2e843c1f70a69af8cef32b50d9860da /sys/netinet | |
parent | cc57fbede1fd6fc58f281f4f593bd8683dc94b34 (diff) |
s/(cast)0/NYLL/g
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 8e0d1829208..d447ed66740 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.14 1998/01/06 23:49:49 deraadt Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.15 1998/01/20 02:22:31 mickey Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -176,7 +176,7 @@ tcp_usrreq(so, req, m, nam, control) */ case PRU_LISTEN: if (inp->inp_lport == 0) - error = in_pcbbind(inp, (struct mbuf *)0); + error = in_pcbbind(inp, NULL); if (error == 0) tp->t_state = TCPS_LISTEN; break; @@ -190,7 +190,7 @@ tcp_usrreq(so, req, m, nam, control) */ case PRU_CONNECT: if (inp->inp_lport == 0) { - error = in_pcbbind(inp, (struct mbuf *)0); + error = in_pcbbind(inp, NULL); if (error) break; } @@ -469,7 +469,7 @@ tcp_attach(so) return (error); inp = sotoinpcb(so); tp = tcp_newtcpcb(inp); - if (tp == 0) { + if (tp == NULL) { int nofd = so->so_state & SS_NOFDREF; /* XXX */ so->so_state &= ~SS_NOFDREF; /* don't free the socket yet */ |