Skip to content

Commit

Permalink
[avpops]fix acmds instead of cmds
Browse files Browse the repository at this point in the history
(cherry picked from commit 9bd4c77)
  • Loading branch information
ionutrazvanionita committed Jan 15, 2016
1 parent c0a0408 commit ad32566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/avpops/avpops.c
Expand Up @@ -248,7 +248,7 @@ static int avpops_init(void)
}

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

0 comments on commit ad32566

Please sign in to comment.