From: Automerge Script Date: Thu, 7 Jun 2007 23:20:58 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.19-netsec~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f30a0a0f22ffab7d9d159312320b7245f176bc6;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@68367 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/say.c b/say.c index 077a057a35..459e181c98 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 ('*'):