From 42f8586ab1c0903f9866e62d03b322b96fe843e2 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 20 May 2007 05:51:40 +0000 Subject: [PATCH] need to pass in pointer. git-svn-id: http://svn.openzap.org/svn/openzap/trunk@48 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/freetdm/src/zap_wanpipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/freetdm/src/zap_wanpipe.c b/libs/freetdm/src/zap_wanpipe.c index 6b351fb61f..fc7142dc48 100644 --- a/libs/freetdm/src/zap_wanpipe.c +++ b/libs/freetdm/src/zap_wanpipe.c @@ -551,7 +551,7 @@ zap_status_t wanpipe_destroy(void) zap_channel_t *cur_chan = &cur_span->channels[j]; if (zap_test_flag(cur_chan, ZAP_CHANNEL_CONFIGURED)) { zap_log(ZAP_LOG_INFO, "Closing channel %u:%u fd:%d\n", cur_chan->span_id, cur_chan->chan_id, cur_chan->sockfd); - tdmv_api_close_socket(cur_chan->sockfd); + tdmv_api_close_socket(&cur_chan->sockfd); } } }