aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-07 23:20:58 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-07 23:20:58 +0000
commit18fa782918afb311e8b05ef7126bb3369ef07dbe (patch)
tree419563a3e50a4416b496251b9ef9de3fce5aa61b
parentd7035bf4477f1cccda03d86b70913f8dee0887d2 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@68367 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--say.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/say.c b/say.c
index 077a057a3..459e181c9 100644
--- a/say.c
+++ b/say.c
@@ -62,7 +62,7 @@ int ast_say_character_str_full(struct ast_channel *chan, const char *str, const
int num = 0;
int res = 0;
- while (str[num]) {
+ while (str[num] && !res) {
fn = NULL;
switch (str[num]) {
case ('*'):
@@ -142,7 +142,7 @@ int ast_say_phonetic_str_full(struct ast_channel *chan, const char *str, const c
int num = 0;
int res = 0;
- while (str[num]) {
+ while (str[num] && !res) {
fn = NULL;
switch (str[num]) {
case ('*'):