[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
Fri Jul 11 13:02:37 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13054 
====================================================================== 
Reported By:                pabelanger
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   13054
Category:                   General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-10-2008 11:51 CDT
Last Modified:              07-11-2008 13:02 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-11-08 13:02  svnbot         Status                   assigned => resolved
07-11-08 13:02  svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list