Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 14:50:57 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275682 - head/lib/libc/net
Message-ID:  <201412101450.sBAEovva024709@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Wed Dec 10 14:50:57 2014
New Revision: 275682
URL: https://svnweb.freebsd.org/changeset/base/275682

Log:
  Fix a typo reported by Lennart Grahl.
  
  MFC after: 3 days

Modified:
  head/lib/libc/net/sctp_sys_calls.c

Modified: head/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- head/lib/libc/net/sctp_sys_calls.c	Wed Dec 10 14:36:44 2014	(r275681)
+++ head/lib/libc/net/sctp_sys_calls.c	Wed Dec 10 14:50:57 2014	(r275682)
@@ -886,7 +886,7 @@ sctp_recvv(int sd,
 	struct sctp_rcvinfo *rcvinfo;
 	struct sctp_nxtinfo *nxtinfo;
 
-	if (((info != NULL) && (infolen == NULL)) |
+	if (((info != NULL) && (infolen == NULL)) ||
 	    ((info == NULL) && (infolen != NULL) && (*infolen != 0)) ||
 	    ((info != NULL) && (infotype == NULL))) {
 		errno = EINVAL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412101450.sBAEovva024709>