Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/uipc_socket.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- src/sys/kern/uipc_socket.c 1993/08/03 01:36:10 1.4 +++ src/sys/kern/uipc_socket.c 1993/08/03 02:45:20 1.5 @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)uipc_socket.c 7.28 (Berkeley) 5/4/91 - * $Id: uipc_socket.c,v 1.4 1993/08/03 01:36:10 cgd Exp $ + * $Id: uipc_socket.c,v 1.5 1993/08/03 02:45:20 mycroft Exp $ */ #include "param.h" @@ -71,7 +71,7 @@ socreate(dom, aso, type, proto) prp = pffindproto(dom, proto, type); else prp = pffindtype(dom, type); - if (prp == 0 || || !prp->pr_usrreq) + if (!prp || !prp->pr_usrreq) return (EPROTONOSUPPORT); if (prp->pr_type != type) return (EPROTOTYPE);