aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-04 05:32:00 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-04 05:32:00 +0000
commited36de6492c370ca24cce550c967011a8e7a9322 (patch)
treeb386a39736f7fee71da06e58abc413cc27e3ed57 /funcs/func_strings.c
parent26aa0301e6310586014bc4ccf7afe3d7b882ca2f (diff)
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: http://svn.digium.com/svn/asterisk/trunk@102238 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_strings.c')
-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 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])) {