[asterisk-commits] jpeeler: branch 1.6.1 r224336 - /branches/1.6.1/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 16 21:02:35 CDT 2009
Author: jpeeler
Date: Fri Oct 16 21:02:32 2009
New Revision: 224336
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=224336
Log:
fix typo, sorry
Modified:
branches/1.6.1/channels/chan_dahdi.c
Modified: branches/1.6.1/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/channels/chan_dahdi.c?view=diff&rev=224336&r1=224335&r2=224336
==============================================================================
--- branches/1.6.1/channels/chan_dahdi.c (original)
+++ branches/1.6.1/channels/chan_dahdi.c Fri Oct 16 21:02:32 2009
@@ -9164,12 +9164,12 @@
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)) {
More information about the asterisk-commits
mailing list