From 1dde474916285c3ced9bdd88efdba9b28194fea3 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 4 Feb 2008 05:10:02 +0000 Subject: [PATCH] Missing braces. (closes issue #11912) Reported by: dimas Patches: sprintf.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102214 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_strings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/funcs/func_strings.c b/funcs/func_strings.c index c5849c0fc3..b01bec7124 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])) {