Just as a standard, to get the Bug codelines standard:

               case ('*'):
                       fn = "digits/star";
                       break;
               case ('#'):

could be
               case '*':
                       fn = "digits/star";
                       break;
               case '#':

since all the ( ) are useless in the switch statement.


and there's so much:
num = num - 60;

which could be:
num -= 60;

that one makes code cleaner, specialy when using a lot of
num = num % 10; and all math combination.


whatcha think?



--
Clod Patry
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to