diff options
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index c219d61b2..7308aecaf 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5289,7 +5289,7 @@ static void *ss_thread(void *data) else ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax); } - dtmfbuf[0] = 0; + memset(dtmfbuf, 0, sizeof(dtmfbuf)); /* Wait for the first digit only if immediate=no */ if (!p->immediate) /* Wait for the first digit (up to 5 seconds). */ |