[asterisk-addons-commits] twilson: trunk r594 - /trunk/channels/ooh323c/src/ootrace.c
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Mon May 5 12:37:51 CDT 2008
Author: twilson
Date: Mon May 5 12:37:49 2008
New Revision: 594
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=594
Log:
Add format attribute
Modified:
trunk/channels/ooh323c/src/ootrace.c
Modified: trunk/channels/ooh323c/src/ootrace.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/channels/ooh323c/src/ootrace.c?view=diff&rev=594&r1=593&r2=594
==============================================================================
--- trunk/channels/ooh323c/src/ootrace.c (original)
+++ trunk/channels/ooh323c/src/ootrace.c Mon May 5 12:37:49 2008
@@ -37,6 +37,7 @@
gs_traceLevel = traceLevel;
}
+__attribute__((format (printf, 2, 3)))
void ooTrace(OOUINT32 traceLevel, const char * fmtspec, ...)
{
va_list arglist;
More information about the asterisk-addons-commits
mailing list