Skip to content

Commit ad32566

Browse files
author
ionutrazvanionita
committed
[avpops]fix acmds instead of cmds
(cherry picked from commit 9bd4c77)
1 parent c0a0408 commit ad32566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/avpops/avpops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static int avpops_init(void)
248248
}
249249

250250
for (i=0; acmds[i].name != NULL; i++) {
251-
if (strncasecmp(cmds[i].name, AVPDB, sizeof(AVPDB)-1) == 0 &&
251+
if (strncasecmp(acmds[i].name, AVPDB, sizeof(AVPDB)-1) == 0 &&
252252
(is_script_async_func_used(acmds[i].name, acmds[i].param_no))) {
253253
need_db=1;
254254
}

0 commit comments

Comments
 (0)