diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-05-29 11:19:30 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-05-29 11:19:30 +0000 |
commit | 532bc501f8e1239f5b212b6960aae9d0e9d1a4cf (patch) | |
tree | e0636daabe0be980540b6e26c74492591e7d50e7 /lib | |
parent | 76a9701748b4f10fbabda6b5937a22e60c7189c7 (diff) | |
download | FreeBSD-src-532bc501f8e1239f5b212b6960aae9d0e9d1a4cf.zip FreeBSD-src-532bc501f8e1239f5b212b6960aae9d0e9d1a4cf.tar.gz |
MFC r275682:
Fix a typo reported by Lennart Grahl.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sctp_sys_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c index 91527c3..ea66df9 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -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; |