From d4d73b50a1a5a81a12af340bf43a3bcc0d3b084e Mon Sep 17 00:00:00 2001 From: Tilghman Lesher <tilghman@meg.abyt.es> Date: Mon, 4 Feb 2008 05:32:00 +0000 Subject: [PATCH] Merged revisions 102214 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102214 | tilghman | 2008-02-03 23:10:02 -0600 (Sun, 03 Feb 2008) | 6 lines 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/trunk@102238 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 54730e1089..aaa4b0a97c 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])) { -- GitLab