From 57f42bd74f78d5022631b2ba2269892f8a3a384a Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Mon, 20 Feb 2012 23:43:27 +0000 Subject: ast_channel opaquification of pointers and integral types Review: https://reviewboard.asterisk.org/r/1753/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356042 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/message.c') diff --git a/main/message.c b/main/message.c index c4d2c4372..1e575f2e2 100644 --- a/main/message.c +++ b/main/message.c @@ -616,7 +616,7 @@ static struct ast_channel *create_msg_q_chan(void) ast_channel_unlink(chan); - chan->tech = &msg_chan_tech_hack; + ast_channel_tech_set(chan, &msg_chan_tech_hack); if (!(ds = ast_datastore_alloc(&msg_datastore, NULL))) { ast_hangup(chan); -- cgit v1.2.3