[asterisk-commits] russell: branch russell/ais r80927 - /team/russell/ais/res/res_ais.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Aug 25 23:46:03 CDT 2007
Author: russell
Date: Sat Aug 25 23:46:03 2007
New Revision: 80927
URL: http://svn.digium.com/view/asterisk?view=rev&rev=80927
Log:
formatting tweak
Modified:
team/russell/ais/res/res_ais.c
Modified: team/russell/ais/res/res_ais.c
URL: http://svn.digium.com/view/asterisk/team/russell/ais/res/res_ais.c?view=diff&rev=80927&r1=80926&r2=80927
==============================================================================
--- team/russell/ais/res/res_ais.c (original)
+++ team/russell/ais/res/res_ais.c Sat Aug 25 23:46:03 2007
@@ -159,9 +159,10 @@
{
int x;
- for (x=0; x < sizeof(ais_errors) / sizeof(ais_errors[0]); x++)
+ for (x = 0; x < ARRAY_LEN(ais_errors); x++) {
if (ais_errors[x].error == error)
return ais_errors[x].desc;
+ }
return "Unknown";
}
More information about the asterisk-commits
mailing list