[asterisk-commits] russell: branch 1.4 r68354 - in /branches/1.4: ./ main/say.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jun 7 16:14:46 MST 2007


Author: russell
Date: Thu Jun  7 18:14:45 2007
New Revision: 68354

URL: http://svn.digium.com/view/asterisk?view=rev&rev=68354
Log:
Merged revisions 68351 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r68351 | russell | 2007-06-07 18:13:33 -0500 (Thu, 07 Jun 2007) | 3 lines

Fix a problem where saying a character wouldn't properly break out when the caller pressed '#'
(issue #8113, reported by patbaker82, patch from jamesgolovich (hey, long time no see!) and patbaker82)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/main/say.c

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

Modified: branches/1.4/main/say.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/say.c?view=diff&rev=68354&r1=68353&r2=68354
==============================================================================
--- branches/1.4/main/say.c (original)
+++ branches/1.4/main/say.c Thu Jun  7 18:14:45 2007
@@ -67,7 +67,7 @@
 	int num = 0;
 	int res = 0;
 
-	while (str[num]) {
+	while (str[num] && !res) {
 		fn = NULL;
 		switch (str[num]) {
 		case ('*'):
@@ -142,7 +142,7 @@
 	int num = 0;
 	int res = 0;
 
-	while (str[num]) {
+	while (str[num] && !res) {
 		fn = NULL;
 		switch (str[num]) {
 		case ('*'):



More information about the asterisk-commits mailing list