[asterisk-commits] tilghman: trunk r130230 - in /trunk: channels/chan_dahdi.c utils/astman.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 11 14:40:55 CDT 2008


Author: tilghman
Date: Fri Jul 11 14:40:55 2008
New Revision: 130230

URL: http://svn.digium.com/view/asterisk?view=rev&rev=130230
Log:
Fix trunk breakage

Modified:
    trunk/channels/chan_dahdi.c
    trunk/utils/astman.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=130230&r1=130229&r2=130230
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Fri Jul 11 14:40:55 2008
@@ -13701,7 +13701,7 @@
 	unsigned int param_count;
 	unsigned int x;
 
-	if (!(param_count = ast_app_separate_args(parse, ',', params, ARRAY_LEN(params)))
+	if (!(param_count = ast_app_separate_args(parse, ',', params, ARRAY_LEN(params))))
 		return;
 
 	memset(&confp->chan.echocancel, 0, sizeof(confp->chan.echocancel));

Modified: trunk/utils/astman.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/astman.c?view=diff&rev=130230&r1=130229&r2=130230
==============================================================================
--- trunk/utils/astman.c (original)
+++ trunk/utils/astman.c Fri Jul 11 14:40:55 2008
@@ -41,6 +41,7 @@
 #include "asterisk/md5.h"
 #include "asterisk/linkedlists.h"
 
+#define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0]))
 
 #undef gethostbyname
 




More information about the asterisk-commits mailing list