]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
whoops, fix a cut&paste error...
authorLuigi Rizzo <rizzo@icir.org>
Fri, 19 Jan 2007 16:35:37 +0000 (16:35 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Fri, 19 Jan 2007 16:35:37 +0000 (16:35 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 8c5f25d23dc31a3820de61214422ecbbbd8b47d7..cc17af93be3d642c54714b5ef9efaffc9f0983cb 100644 (file)
@@ -1150,9 +1150,9 @@ static int zt_digit_begin(struct ast_channel *chan, char digit)
                        .op = ZT_DIAL_OP_APPEND,
                };
 
-               dialstr[0] = 'T';
-               dialstr[1] = digit;
-               dialstr[2] = '\0';
+               zo.dialstr[0] = 'T';
+               zo.dialstr[1] = digit;
+               zo.dialstr[2] = '\0';
                if ((res = ioctl(pvt->subs[SUB_REAL].zfd, ZT_DIAL, &zo)))
                        ast_log(LOG_WARNING, "Couldn't dial digit %c\n", digit);
                else