Fix a typo reported by Lennart Grahl.
MFC after: 3 days
This commit is contained in:
parent
d0ff09c9c0
commit
0d958bd47a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user