aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-04 05:10:02 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-04 05:10:02 +0000
commit40fac56fb744fcccb19f7a2b65cd0f3c03c8cf30 (patch)
tree1a11ae95fc028915449f6c5546fc258961385661 /funcs/func_strings.c
parent74daa6a562056bdda2eb97116aeb7adc8a868a22 (diff)
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/branches/1.4@102214 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 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])) {