[asterisk-commits] russell: trunk r67805 - /trunk/main/dsp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 12:35:49 MST 2007


Author: russell
Date: Wed Jun  6 14:35:49 2007
New Revision: 67805

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67805
Log:
Yet another minor change to test mantis/svn
(issue #9828)

Modified:
    trunk/main/dsp.c

Modified: trunk/main/dsp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/dsp.c?view=diff&rev=67805&r1=67804&r2=67805
==============================================================================
--- trunk/main/dsp.c (original)
+++ trunk/main/dsp.c Wed Jun  6 14:35:49 2007
@@ -1735,7 +1735,7 @@
 {
 	int x;
 	
-	for (x=0;x<sizeof(aliases) / sizeof(aliases[0]);x++) {
+	for (x = 0; x < ARRAY_LEN(aliases); x++) {
 		if (!strcasecmp(aliases[x].name, zone)) {
 			dsp->progmode = aliases[x].mode;
 			ast_dsp_prog_reset(dsp);



More information about the asterisk-commits mailing list