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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to