Fix compilation of chan_h323.c since removal of the private channel structures (Bug...
authorJosh Roberson <josh@asteriasgi.com>
Tue, 8 Mar 2005 23:11:23 +0000 (23:11 +0000)
committerJosh Roberson <josh@asteriasgi.com>
Tue, 8 Mar 2005 23:11:23 +0000 (23:11 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index 9eeed08..8ba7bd9 100755 (executable)
@@ -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()