mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Do a massive conversion for using the ast_verb() macro
(closes issue #10277, patches by mvanbaak) Basically, this changes ... if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3, "Something\n"); to ... ast_verb(3, "Something\n"); git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -99,7 +99,7 @@ static int load_module(void)
|
||||
if(!load_config())
|
||||
return AST_MODULE_LOAD_DECLINE;
|
||||
|
||||
ast_verbose(VERBOSE_PREFIX_1 "Loading [Sub]Agent Module\n");
|
||||
ast_verb(1, "Loading [Sub]Agent Module\n");
|
||||
|
||||
res_snmp_dont_stop = 1;
|
||||
if (res_snmp_enabled)
|
||||
@@ -110,7 +110,7 @@ static int load_module(void)
|
||||
|
||||
static int unload_module(void)
|
||||
{
|
||||
ast_verbose(VERBOSE_PREFIX_1 "Unloading [Sub]Agent Module\n");
|
||||
ast_verb(1, "Unloading [Sub]Agent Module\n");
|
||||
|
||||
res_snmp_dont_stop = 0;
|
||||
return ((thread != AST_PTHREADT_NULL) ? pthread_join(thread, NULL) : 0);
|
||||
|
Reference in New Issue
Block a user