[asterisk-commits] trunk r14479 - /trunk/utils.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 23 14:01:20 MST 2006


Author: kpfleming
Date: Thu Mar 23 15:01:19 2006
New Revision: 14479

URL: http://svn.digium.com/view/asterisk?rev=14479&view=rev
Log:
don't wrap this in ifdef... using va_start is safe on all platforms :-)

Modified:
    trunk/utils.c

Modified: trunk/utils.c
URL: http://svn.digium.com/view/asterisk/trunk/utils.c?rev=14479&r1=14478&r2=14479&view=diff
==============================================================================
--- trunk/utils.c (original)
+++ trunk/utils.c Thu Mar 23 15:01:19 2006
@@ -1024,11 +1024,7 @@
 	va_list ap1, ap2;
 
 	va_start(ap1, format);
-#if defined(__FreeBSD__)
 	va_start(ap2, format);		/* va_copy does not exist on FreeBSD */
-#else
-	va_copy(ap2, ap1);
-#endif
 
 	needed = vsnprintf(mgr->pool->base + mgr->used, mgr->space, format, ap1) + 1;
 



More information about the asterisk-commits mailing list