Fix "thinkdigit" issue in new DSP code
authorMark Spencer <markster@digium.com>
Wed, 26 Mar 2003 17:01:27 +0000 (17:01 +0000)
committerMark Spencer <markster@digium.com>
Wed, 26 Mar 2003 17:01:27 +0000 (17:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@696 65c4cc65-6c06-0410-ace0-fbb531ad65f3

dsp.c

diff --git a/dsp.c b/dsp.c
index d349a7d..ec3d4d0 100755 (executable)
--- a/dsp.c
+++ b/dsp.c
@@ -1157,6 +1157,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp,
                                                dsp->thinkdigit = digit;
                                                return &dsp->f;
                                        }
+                                       dsp->thinkdigit = digit;
                                } else {
                                        if (dsp->thinkdigit) {
                                                memset(&dsp->f, 0, sizeof(dsp->f));