diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 21:00:44 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-03 21:00:44 +0000 |
commit | 5ea0aff8a0589ffba8ab3875d6c07301b2fe2c75 (patch) | |
tree | 560ae0dcbd6966f3e51772d2e62d47a5be22c71c /channels/chan_mgcp.c | |
parent | 670646d325536071c4461833cf12390f9403ee32 (diff) |
Merged revisions 90639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90639 | mmichelson | 2007-12-03 14:59:51 -0600 (Mon, 03 Dec 2007) | 5 lines
Changing some bad logic when calculating the interdigit timeout.
(closes issue #11402, reported and patched by eferro)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90644 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index d736a6226..ae7a3ed14 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2623,7 +2623,7 @@ static void *mgcp_ss(void *data) while (strlen(p->dtmf_buf) == len){ ast_safe_sleep(chan, loop_pause); timeout -= loop_pause; - if ( (timeout -= loop_pause) <= 0){ + if (timeout <= 0){ res = 0; break; } |