diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-02-04 05:32:00 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-02-04 05:32:00 +0000 |
commit | d4d73b50a1a5a81a12af340bf43a3bcc0d3b084e (patch) | |
tree | b386a39736f7fee71da06e58abc413cc27e3ed57 | |
parent | fa4c9a958be3dfa2877c52b3e25474010a9c075d (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: https://origsvn.digium.com/svn/asterisk/trunk@102238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | funcs/func_strings.c | 3 |
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])) { |