From: Moises Silva Date: Thu, 6 May 2010 20:32:00 +0000 (-0400) Subject: freetdm: windows fix X-Git-Tag: git2svn-syncpoint-master~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=162b5cf2b1349656bdae47f011b5d6df8813eddf;p=thirdparty%2Ffreeswitch.git freetdm: windows fix --- diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c b/libs/freetdm/src/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c index 9b530d56e3..d5a07210ae 100644 --- a/libs/freetdm/src/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c +++ b/libs/freetdm/src/ftmod/ftmod_sangoma_boost/ftmod_sangoma_boost.c @@ -2519,11 +2519,12 @@ static FIO_CONFIGURE_SPAN_SIGNALING_FUNCTION(ftdm_sangoma_boost_configure_span) ftdm_log(FTDM_LOG_CRIT, "No sigmod attribute in span %s, you must either specify a sigmod or re-compile with SCTP available to use socket mode boost!\n"); ftdm_set_string(span->last_error, "No sigmod configuration was set and there is no SCTP available!"); FAIL_CONFIG_RETURN(FTDM_FAIL); -#endif +#else if (!local_ip && local_port && remote_ip && remote_port && sig_cb) { ftdm_set_string(span->last_error, "missing Sangoma boost IP parameters"); FAIL_CONFIG_RETURN(FTDM_FAIL); } +#endif } sangoma_boost_data = ftdm_calloc(1, sizeof(*sangoma_boost_data));