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:
Tilghman Lesher
2008-02-04 05:10:02 +00:00
parent 649a083adb
commit 1dde474916

View File

@@ -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])) {