mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
fix build.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@275 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
5b432cdb8a
commit
99b76622ba
@ -914,7 +914,6 @@ static ZIO_SIGNAL_CB_FUNCTION(on_fxs_signal)
|
||||
{
|
||||
switch_core_session_t *session = NULL;
|
||||
switch_channel_t *channel = NULL;
|
||||
private_t *tech_pvt = NULL;
|
||||
zap_status_t status = ZAP_SUCCESS;
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "got FXS sig [%s]\n", zap_signal_event2str(sigmsg->event_id));
|
||||
@ -962,7 +961,6 @@ static ZIO_SIGNAL_CB_FUNCTION(on_isdn_signal)
|
||||
{
|
||||
switch_core_session_t *session = NULL;
|
||||
switch_channel_t *channel = NULL;
|
||||
zap_status_t status;
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "got ISDN sig [%s]\n", zap_signal_event2str(sigmsg->event_id));
|
||||
|
||||
@ -1046,7 +1044,7 @@ static void zap_logger(char *file, const char *func, int line, int level, char *
|
||||
va_start(ap, fmt);
|
||||
|
||||
if (switch_vasprintf(&data, fmt, ap) != -1) {
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, data);
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, data);
|
||||
free(data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user