[asterisk-bugs] [Asterisk 0014032]: Janitor project to use ARRAY_LEN

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 8 16:37:39 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14032 
====================================================================== 
Reported By:                bkruse
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14032
Category:                   General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 161869 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-08 16:36 CST
Last Modified:              2008-12-08 16:37 CST
====================================================================== 
Summary:                    Janitor project to use ARRAY_LEN
Description: 
Noticed this in doc/janitor-projects.txt

Uploaded a patch, also, a sed one liner for finding and fixing these.

-bk
====================================================================== 

---------------------------------------------------------------------- 
 (0095984) bkruse (manager) - 2008-12-08 16:37
 http://bugs.digium.com/view.php?id=14032#c95984 
---------------------------------------------------------------------- 
I am not 100% sure (my C skills are not amazing) if you still have to cast
the ARRAY_LEN macro to int (eg (int)ARRAY_LEN(cmds)

-bk 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-08 16:37 bkruse         Note Added: 0095984                          
======================================================================




More information about the asterisk-bugs mailing list