diff options
author | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 16:40:28 +0000 |
---|---|---|
committer | bbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-08 16:40:28 +0000 |
commit | 0110f8c87a0481038e3673640c387417fb339b4c (patch) | |
tree | df03af827ea95734e2906e4737660d983e3e0b01 /apps/app_meetme.c | |
parent | cdea52a3def39e3b06cb2ef6f0ca88a4c5f710a8 (diff) |
Janitor project to convert sizeof to ARRAY_LEN macro.
(closes issue #13002)
Reported by: caio1982
Patches:
janitor_arraylen5.diff uploaded by caio1982 (license 22)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129045 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 25cc0727e..ee158b1fe 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -3101,7 +3101,7 @@ static int conf_exec(struct ast_channel *chan, void *data) /* Select first conference number not in use */ if (ast_strlen_zero(confno) && dynamic) { AST_LIST_LOCK(&confs); - for (i = 0; i < sizeof(conf_map) / sizeof(conf_map[0]); i++) { + for (i = 0; i < ARRAY_LEN(conf_map); i++) { if (!conf_map[i]) { snprintf(confno, sizeof(confno), "%d", i); conf_map[i] = 1; |