fix typo, sorry
authorJeff Peeler <jpeeler@digium.com>
Sat, 17 Oct 2009 02:01:36 +0000 (02:01 +0000)
committerJeff Peeler <jpeeler@digium.com>
Sat, 17 Oct 2009 02:01:36 +0000 (02:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@224335 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index ee85f13..d8950ee 100644 (file)
@@ -11290,7 +11290,7 @@ 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 (analog_lib_handles(p->sig, p->radio, p->oprmode))
+               if (analog_lib_handles(tmp->sig, tmp->radio, tmp->oprmode)) {
                        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 {