diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-17 02:02:32 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-17 02:02:32 +0000 |
commit | 9be196e3bedfbfb24c3294b518af98273473501b (patch) | |
tree | 55a3a36aa3de729ee64f598e262ded8b50187d47 /channels | |
parent | 67e6736251a49c5c7716ae5f960eff11283e3184 (diff) |
fix typo, sorry
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@224336 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index cea529774..5a39daf27 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -9164,12 +9164,12 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, ast_copy_string(tmp->context, conf->chan.context, sizeof(tmp->context)); ast_copy_string(tmp->parkinglot, conf->chan.parkinglot, sizeof(tmp->parkinglot)); tmp->cid_ton = 0; - if ((p->sig != SIG_PRI) || (p->sig != SIG_SS7) || (p->sig != SIG_BRI) || (p->sig != SIG_BRI_PTMP)) { + if ((tmp->sig != SIG_PRI) || (tmp->sig != SIG_SS7) || (tmp->sig != SIG_BRI) || (tmp->sig != SIG_BRI_PTMP)) { ast_copy_string(tmp->cid_num, conf->chan.cid_num, sizeof(tmp->cid_num)); ast_copy_string(tmp->cid_name, conf->chan.cid_name, sizeof(tmp->cid_name)); } else { - p->cid_num[0] = '\0'; - p->cid_name[0] = '\0'; + tmp->cid_num[0] = '\0'; + tmp->cid_name[0] = '\0'; } ast_copy_string(tmp->mailbox, conf->chan.mailbox, sizeof(tmp->mailbox)); if (channel != CHAN_PSEUDO && !ast_strlen_zero(tmp->mailbox)) { |