[asterisk-bugs] [Asterisk 0013054]: [patch] janitor project to use ARRAY_LEN instead of in-line sizeof() and division.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 30 11:16:30 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13054 
====================================================================== 
Reported By:                pabelanger
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13054
Category:                   General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 129568 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-10-2008 11:51 CDT
Last Modified:              07-10-2008 11:51 CDT
====================================================================== 
Summary:                    [patch] janitor project to use ARRAY_LEN instead of
in-line sizeof() and division.
Description: 
replaced:

 sizeof(array)/sizeof(array[0])

with:

 ARRAY_LEN(array)
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-10-08 11:51  pabelanger     Asterisk Version          => SVN             
07-10-08 11:51  pabelanger     SVN Branch (only for SVN checkou =>  trunk       
  
07-10-08 11:51  pabelanger     SVN Revision (number only!) => 129568          
======================================================================




More information about the asterisk-bugs mailing list