mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
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
This commit is contained in:
@@ -286,9 +286,10 @@ static int acf_sprintf(struct ast_channel *chan, char *cmd, char *data, char *bu
|
|||||||
i++;
|
i++;
|
||||||
state = SPRINTF_CONVERSION;
|
state = SPRINTF_CONVERSION;
|
||||||
break;
|
break;
|
||||||
} else if (strchr("Lqjzt", arg.format[i]))
|
} else if (strchr("Lqjzt", arg.format[i])) {
|
||||||
state = SPRINTF_CONVERSION;
|
state = SPRINTF_CONVERSION;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
state = SPRINTF_CONVERSION;
|
state = SPRINTF_CONVERSION;
|
||||||
case SPRINTF_CONVERSION:
|
case SPRINTF_CONVERSION:
|
||||||
if (strchr("diouxXc", arg.format[i])) {
|
if (strchr("diouxXc", arg.format[i])) {
|
||||||
|
Reference in New Issue
Block a user