sctputil.h   sctputil.h 
skipping to change at line 174 skipping to change at line 174
static inline int test_connect(int sk, struct sockaddr *addr, socklen_t add rlen) static inline int test_connect(int sk, struct sockaddr *addr, socklen_t add rlen)
{ {
int error = connect(sk, addr, addrlen); int error = connect(sk, addr, addrlen);
if (-1 == error) if (-1 == error)
tst_brkm(TBROK, tst_exit, "connect: %s", strerror(errno)); tst_brkm(TBROK, tst_exit, "connect: %s", strerror(errno));
return error; return error;
} }
static inline int test_connectx(int sk, struct sockaddr *addr, int count) static inline int test_connectx(int sk, struct sockaddr *addr, int count)
{ {
int error = sctp_connectx(sk, addr, count); int error = sctp_connectx(sk, addr, count, NULL);
if (-1 == error) if (-1 == error)
tst_brkm(TBROK, tst_exit, "connectx: %s", strerror(errno)); tst_brkm(TBROK, tst_exit, "connectx: %s", strerror(errno));
return error; return error;
} }
static inline int test_accept(int sk, struct sockaddr *addr, socklen_t *add rlen) static inline int test_accept(int sk, struct sockaddr *addr, socklen_t *add rlen)
{ {
int error = accept(sk, addr, addrlen); int error = accept(sk, addr, addrlen);
if (-1 == error) if (-1 == error)
tst_brkm(TBROK, tst_exit, "accept: %s", strerror(errno)); tst_brkm(TBROK, tst_exit, "accept: %s", strerror(errno));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/