Changeset 709:19a9470de77a in freeDiameter for libfdcore
- Timestamp:
- Feb 10, 2011, 10:49:09 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/cnxctx.c
r706 r709 156 156 TRACE_DEBUG(INFO, "This function should never been called when SCTP is disabled..."); 157 157 ASSERT(0); 158 CHECK_FCT_DO( ENOTSUP, return NULL); 158 CHECK_FCT_DO( ENOTSUP, ); 159 return NULL; 159 160 #else /* DISABLE_SCTP */ 160 161 struct cnxctx * cnx = NULL; … … 355 356 TRACE_DEBUG(INFO, "This function should never be called when SCTP is disabled..."); 356 357 ASSERT(0); 357 CHECK_FCT_DO( ENOTSUP, return NULL); 358 CHECK_FCT_DO( ENOTSUP, ); 359 return NULL; 358 360 #else /* DISABLE_SCTP */ 359 361 int sock = 0; … … 499 501 { 500 502 CHECK_PARAMS_DO( conn, return 0 ); 501 #if def DISABLE_SCTP503 #ifndef DISABLE_SCTP 502 504 if (conn->cc_proto == IPPROTO_SCTP) 503 505 return (conn->cc_sctp_para.str_in > 1) || (conn->cc_sctp_para.str_out > 1);
Note: See TracChangeset
for help on using the changeset viewer.