Mercurial > hg > freeDiameter
diff libfdcore/p_cnx.c @ 765:edbdb35a603f
Fix a few compilation warning, some are still remaining
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 18 Oct 2011 23:11:11 +0200 |
parents | 4a9f08d6b6ba |
children | d8d0772586ad |
line wrap: on
line diff
--- a/libfdcore/p_cnx.c Tue Oct 18 23:00:51 2011 +0200 +++ b/libfdcore/p_cnx.c Tue Oct 18 23:11:11 2011 +0200 @@ -250,7 +250,7 @@ break; #ifndef DISABLE_SCTP case IPPROTO_SCTP: - cnx = fd_cnx_cli_connect_sctp((peer->p_hdr.info.config.pic_flags.pro3 == PI_P3_IP) ?: fd_g_config->cnf_flags.no_ip6, + cnx = fd_cnx_cli_connect_sctp((peer->p_hdr.info.config.pic_flags.pro3 == PI_P3_IP) ? 1 : fd_g_config->cnf_flags.no_ip6, nc->port, &peer->p_hdr.info.pi_endpoints); break; #endif /* DISABLE_SCTP */