This patch makes SCTP module compile without errors or warnings on FreeBSD 10.1

CC (clang) [M sctp.so] sctp_server.o
sctp_server.c:2400:54: error: too few arguments provided to function-like macro invocation
SCTP_EV_REMOTE_ERROR(&si->address, si->port_no, su);
^
./sctp_ev.h:37:9: note: macro 'SCTP_EV_REMOTE_ERROR' defined here
#define SCTP_EV_REMOTE_ERROR(lip, lport, src, err)
^
sctp_server.c:2400:4: error: use of undeclared identifier 'SCTP_EV_REMOTE_ERROR'
SCTP_EV_REMOTE_ERROR(&si->address, si->port_no, su);
^
sctp_server.c:2662:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((errno==ENOENT)){

sctp_server.c:2829:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((errno==ENOENT)){


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/74

Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.