diff options
author | Mark Spencer <markster@digium.com> | 2005-08-03 04:23:58 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-08-03 04:23:58 +0000 |
commit | 6afb367b966d1874ce48804deb878b5f3280e0e4 (patch) | |
tree | d062bb4c9c40b56571d20996752359b830b4190f /say.c | |
parent | 4f0d1b84289c68f19390ed2023f3ea08ca98fbc9 (diff) |
Fix issue with say digit str (bug #4883)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'say.c')
-rwxr-xr-x | say.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -209,7 +209,7 @@ int ast_say_digit_str_full(struct ast_channel *chan, const char *str, const char int num = 0; int res = 0; - while (str[num]) { + while (str[num] && !res) { fn = NULL; switch (str[num]) { case ('*'): |