Fix newsignal/newcontrol compile issue. Bug #4867
authorJeremy McNamara <jj@nufone.net>
Tue, 2 Aug 2005 03:25:28 +0000 (03:25 +0000)
committerJeremy McNamara <jj@nufone.net>
Tue, 2 Aug 2005 03:25:28 +0000 (03:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6255 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index cb8d9cf..8e8ab53 100755 (executable)
@@ -823,7 +823,7 @@ static struct oh323_pvt *oh323_alloc(int callid)
                pvt->nonCodecCapability &= ~AST_RTP_DTMF;
        }
        strncpy(pvt->context, default_context, sizeof(pvt->context) - 1);
-       pvt->newstate = pvt->newsignal = -1;
+       pvt->newstate = pvt->newcontrol = -1;
        /* Add to interface list */
        ast_mutex_lock(&iflock);
        pvt->next = iflist;
@@ -873,7 +873,7 @@ static int update_state(struct oh323_pvt *pvt, int state, int signal)
                if (state >= 0)
                        pvt->newstate = state;
                if (signal >= 0)
-                       pvt->newsignal = signal;
+                       pvt->newcontrol = signal;
                return 0;
        }
 }