Fix minor typos
authorMark Spencer <markster@digium.com>
Wed, 23 Apr 2003 23:07:34 +0000 (23:07 +0000)
committerMark Spencer <markster@digium.com>
Wed, 23 Apr 2003 23:07:34 +0000 (23:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@901 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index dc8c440..b2c788d 100755 (executable)
@@ -1005,7 +1005,7 @@ static inline int zt_confmute(struct zt_pvt *p, int muted)
        x = muted;
        if (p->sig == SIG_PRI) {
                y = 1;
-               res = ioctl(p->subs[SUB_REAL].zfd, ZT_CONFMUTE, &x);
+               res = ioctl(p->subs[SUB_REAL].zfd, ZT_AUDIOMODE, &y);
                if (res)
                        ast_log(LOG_WARNING, "Unable to set audio mode on '%d'\n", p->channel);
        }