aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--funcs/func_strings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index c5849c0fc..b01bec712 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -286,9 +286,10 @@ static int acf_sprintf(struct ast_channel *chan, char *cmd, char *data, char *bu
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])) {