aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-26 20:01:20 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-26 20:01:20 +0000
commit6a0663a2c9627edddd48a1e831c24158cbb74990 (patch)
tree225577c57f7c970e62d698ca5a3bf4c0109f9aa2
parent9ec21fb2eae081376b35442dc425d6ca1ef4503c (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@8740 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_zap.c2
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). */