[asterisk-commits] tilghman: branch 1.4 r102214 - /branches/1.4/funcs/func_strings.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Feb 3 23:10:03 CST 2008
Author: tilghman
Date: Sun Feb 3 23:10:02 2008
New Revision: 102214
URL: http://svn.digium.com/view/asterisk?view=rev&rev=102214
Log:
Missing braces.
(closes issue #11912)
Reported by: dimas
Patches:
sprintf.patch uploaded by dimas (license 88)
Modified:
branches/1.4/funcs/func_strings.c
Modified: branches/1.4/funcs/func_strings.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_strings.c?view=diff&rev=102214&r1=102213&r2=102214
==============================================================================
--- branches/1.4/funcs/func_strings.c (original)
+++ branches/1.4/funcs/func_strings.c Sun Feb 3 23:10:02 2008
@@ -286,9 +286,10 @@
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])) {
More information about the asterisk-commits
mailing list