svn commit: r283701 - stable/10/lib/libc/net
Michael Tuexen
tuexen at FreeBSD.org
Fri May 29 11:19:31 UTC 2015
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;
More information about the svn-src-stable
mailing list