diff options
-rw-r--r-- | funcs/func_strings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c index 54730e108..aaa4b0a97 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -482,9 +482,10 @@ static int acf_sprintf(struct ast_channel *chan, const char *cmd, char *data, ch i++; state = SPRINTF_CONVERSION; break; - } else if (strchr("Lqjzt", arg.format[i])) + } else if (strchr("Lqjzt", arg.format[i])) { state = SPRINTF_CONVERSION; break; + } state = SPRINTF_CONVERSION; case SPRINTF_CONVERSION: if (strchr("diouxXc", arg.format[i])) { |