[svn-commits] mmichelson: trunk r90644 - in /trunk: ./ channels/chan_mgcp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 3 15:00:44 CST 2007


Author: mmichelson
Date: Mon Dec  3 15:00:44 2007
New Revision: 90644

URL: http://svn.digium.com/view/asterisk?view=rev&rev=90644
Log:
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)


........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_mgcp.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_mgcp.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_mgcp.c?view=diff&rev=90644&r1=90643&r2=90644
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Mon Dec  3 15:00:44 2007
@@ -2623,7 +2623,7 @@
 		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;
 			}




More information about the svn-commits mailing list