mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
Janitor patch to change uses of sizeof to ARRAY_LEN
(closes issue #13054) Reported by: pabelanger Patches: ARRAY_LEN.patch2 uploaded by pabelanger (license 224) Tested by: seanbright git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1723,7 +1723,7 @@ int ast_utils_init(void)
|
||||
base64_init();
|
||||
#ifdef DEBUG_THREADS
|
||||
#if !defined(LOW_MEMORY)
|
||||
ast_cli_register_multiple(utils_cli, sizeof(utils_cli) / sizeof(utils_cli[0]));
|
||||
ast_cli_register_multiple(utils_cli, ARRAY_LEN(utils_cli));
|
||||
#endif
|
||||
#endif
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user