Fix some variables that were forgotten to be renamed, related to 117658. Couldn't merge from trunk since the chan_dahdi transition has not occurred here yet

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeff Peeler
2008-06-16 21:20:08 +00:00
parent 447203ca39
commit 2248db67c7

View File

@@ -8143,8 +8143,8 @@ static struct zt_pvt *mkintf(int channel, const struct zt_chan_conf *conf, struc
}
if (conf->is_sig_auto)
chan_sig = sigtype_to_signalling(p.sigtype);
if (p.sigtype != (conf->chan.sig & 0x3ffff)) {
ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(conf->chan.sig), sig2str(p.sigtype));
if (p.sigtype != (chan_sig & 0x3ffff)) {
ast_log(LOG_ERROR, "Signalling requested on channel %d is %s but line is in %s signalling\n", channel, sig2str(chan_sig), sig2str(p.sigtype));
destroy_zt_pvt(&tmp);
return NULL;
}