From 92739d261c53472bf805a27eac61b589e2bc1a8d Mon Sep 17 00:00:00 2001 From: twisted Date: Tue, 8 Mar 2005 23:11:23 +0000 Subject: Fix compilation of chan_h323.c since removal of the private channel structures (Bug # 3738) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5153 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_h323.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'channels/chan_h323.c') diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 9eeed08f6..8ba7bd98a 100755 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -788,7 +788,7 @@ static struct ast_channel *oh323_new(struct oh323_pvt *pvt, int state, const cha ast_update_use_count(); ast_mutex_lock(&pvt->lock); if (ch) { - tmp->tech = &oh323_tech; + ch->tech = &oh323_tech; snprintf(ch->name, sizeof(ch->name), "H323/%s", host); ch->nativeformats = pvt->capability; if (!ch->nativeformats) { @@ -2221,7 +2221,7 @@ int usecount() char *description() { - return desc; + return (char *) desc; } char *key() -- cgit v1.2.3