SCCS-vsn: sys/kern/uipc_socket.c 6.22
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)uipc_socket.c 6.21 (Berkeley) %G%
+ * @(#)uipc_socket.c 6.22 (Berkeley) %G%
goto discard;
if (so->so_state & SS_ISCONNECTED) {
if ((so->so_state & SS_ISDISCONNECTING) == 0) {
goto discard;
if (so->so_state & SS_ISCONNECTED) {
if ((so->so_state & SS_ISDISCONNECTING) == 0) {
- error = sodisconnect(so, (struct mbuf *)0);
+ error = sodisconnect(so);
register struct socket *so;
register struct socket *so;
{
int s = splnet();
int error;
{
int s = splnet();
int error;
goto bad;
}
error = (*so->so_proto->pr_usrreq)(so, PRU_DISCONNECT,
goto bad;
}
error = (*so->so_proto->pr_usrreq)(so, PRU_DISCONNECT,
- (struct mbuf *)0, nam, (struct mbuf *)0);
+ (struct mbuf *)0, (struct mbuf *)0, (struct mbuf *)0);
bad:
splx(s);
return (error);
bad:
splx(s);
return (error);