diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-10 01:09:06 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-10 01:09:06 +0000 |
commit | 4e8098d130979d8de5717e770934a213eea84473 (patch) | |
tree | 2a5a809fe7cd10b1dffbd211e974403dbb1b4f85 /doc | |
parent | 4fbfb9c338bfc1e8c56a6ed21dc3d4428a2f68bb (diff) |
Finish conversion to using ARRAY_LEN and remove it as a janitor project.
(closes issue #14032)
Reported by: bkruse
Patches:
14032.patch uploaded by bkruse (license 132)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@162542 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rw-r--r-- | doc/janitor-projects.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/janitor-projects.txt b/doc/janitor-projects.txt index b3c1a75df..a43f9c957 100644 --- a/doc/janitor-projects.txt +++ b/doc/janitor-projects.txt @@ -32,11 +32,3 @@ -- Audit all channel/res/app/etc. modules to ensure that they do not register any entrypoints with the Asterisk core until after they are ready to service requests; all config file reading/processing, structure allocation, etc. must be completed before Asterisk is made aware of any services the module offers. -- Ensure that Realtime-enabled modules do not depend on the order of columns returned by the database lookup (example: outboundproxy and host settings in chan_sip). - - -- There are several places in the code where the length of arrays is calculated in-line with sizeof() and division. A common place to find this is in for loops, like this: - - for (i = 0; i < sizeof(array)/sizeof(array[0]); i++) - - There is a macro in utils.h called ARRAY_LEN which should be used instead for readability's sake. - - for (i = 0; i < ARRAY_LEN(array); i++) |