diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-03 04:23:58 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-03 04:23:58 +0000 |
commit | d2fa26daf2744f0242a75d583eea33b145371791 (patch) | |
tree | d062bb4c9c40b56571d20996752359b830b4190f /say.c | |
parent | b0a41e75a0cc9f74dacb53dd14a411526d906ff7 (diff) |
Fix issue with say digit str (bug #4883)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6265 f38db490-d61c-443f-a65b-d21fe96a405b
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 ('*'): |