Skip to content

Commit

Permalink
perl: fix find_cmd_export_t usage
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Apr 16, 2019
1 parent 8883a7c commit d972aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/perl/opensipsxs.xs
Expand Up @@ -247,7 +247,7 @@ int moduleFunc(struct sip_msg *m, char *func,
argv[1] = NULL;
}

exp_func_struct = find_cmd_export_t(func, argc, 0);
exp_func_struct = find_cmd_export_t(func, 0);
if (!exp_func_struct) {
LM_ERR("function '%s' called, but not available.", func);
*retval = -1;
Expand Down

0 comments on commit d972aad

Please sign in to comment.