Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2015 11:19:30 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r283701 - stable/10/lib/libc/net
Message-ID:  <201505291119.t4TBJUnW091560@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Fri May 29 11:19:30 2015
New Revision: 283701
URL: https://svnweb.freebsd.org/changeset/base/283701

Log:
  MFC r275682:
  
  Fix a typo reported by Lennart Grahl.

Modified:
  stable/10/lib/libc/net/sctp_sys_calls.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- stable/10/lib/libc/net/sctp_sys_calls.c	Fri May 29 11:18:06 2015	(r283700)
+++ stable/10/lib/libc/net/sctp_sys_calls.c	Fri May 29 11:19:30 2015	(r283701)
@@ -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?201505291119.t4TBJUnW091560>