Yet another minor change to test mantis/svn
authorRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 19:35:49 +0000 (19:35 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 19:35:49 +0000 (19:35 +0000)
(issue #9828)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67805 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/dsp.c

index 703a9f4..3d0712b 100644 (file)
@@ -1735,7 +1735,7 @@ int ast_dsp_set_call_progress_zone(struct ast_dsp *dsp, char *zone)
 {
        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);