need to pass in pointer.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@48 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2007-05-20 05:51:40 +00:00
parent 7c68876fc8
commit 42f8586ab1
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ zap_status_t wanpipe_destroy(void)
zap_channel_t *cur_chan = &cur_span->channels[j]; zap_channel_t *cur_chan = &cur_span->channels[j];
if (zap_test_flag(cur_chan, ZAP_CHANNEL_CONFIGURED)) { 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); 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);
} }
} }
} }