mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
make verbosity of function registration match apps/manager events/etc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
8
pbx.c
8
pbx.c
@@ -1137,8 +1137,8 @@ int ast_custom_function_unregister(struct ast_custom_function_obj *acf)
|
|||||||
} else {
|
} else {
|
||||||
acf_root = acf->next;
|
acf_root = acf->next;
|
||||||
}
|
}
|
||||||
if (option_verbose)
|
if (option_verbose > 1)
|
||||||
ast_verbose(VERBOSE_PREFIX_1 "Unregistered custom function %s\n", acf->name);
|
ast_verbose(VERBOSE_PREFIX_2 "Unregistered custom function %s\n", acf->name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
lastacf = acfptr;
|
lastacf = acfptr;
|
||||||
@@ -1158,8 +1158,8 @@ int ast_custom_function_register(struct ast_custom_function_obj *acf)
|
|||||||
}
|
}
|
||||||
acf->next = acf_root;
|
acf->next = acf_root;
|
||||||
acf_root = acf;
|
acf_root = acf;
|
||||||
if (option_verbose)
|
if (option_verbose > 1)
|
||||||
ast_verbose(VERBOSE_PREFIX_1 "Registered custom function %s\n", acf->name);
|
ast_verbose(VERBOSE_PREFIX_2 "Registered custom function %s\n", acf->name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user