diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-07 23:14:45 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-07 23:14:45 +0000 |
commit | 815eb900f4516e1360d29340d5571664e5604284 (patch) | |
tree | 7322a673d2d814cb9a1fca505a2286a8bb4efe61 | |
parent | 36e55d906a163753b00893ce4e33a7d30a4b2e60 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@68354 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/say.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/say.c b/main/say.c index 62b315899..4a649ed02 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 ('*'): |