From 08a7d6a06b90391ddfeaa000787ffaeab5c33059 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 7 Jun 2007 23:14:45 +0000 Subject: [PATCH] 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) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68354 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/say.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/say.c b/main/say.c index 62b3158990..4a649ed020 100644 --- a/main/say.c +++ b/main/say.c @@ -67,7 +67,7 @@ static int say_character_str_full(struct ast_channel *chan, const char *str, con int num = 0; int res = 0; - while (str[num]) { + while (str[num] && !res) { fn = NULL; switch (str[num]) { case ('*'): @@ -142,7 +142,7 @@ static int say_phonetic_str_full(struct ast_channel *chan, const char *str, cons int num = 0; int res = 0; - while (str[num]) { + while (str[num] && !res) { fn = NULL; switch (str[num]) { case ('*'): -- 2.47.3