aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-01 23:09:28 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-01 23:09:28 +0000
commitf53c8a8efdf277e3a14b342c760eee75a7e99ceb (patch)
treeaedd8377a629ca0bffab75b60d71858ff536ef55
parent9922991712ad3df7ab65f52e47758932f8c2eeb2 (diff)
make verbosity of function registration match apps/manager events/etc.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5544 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xpbx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pbx.c b/pbx.c
index 6216ecb96..bf9db3d0a 100755
--- a/pbx.c
+++ b/pbx.c
@@ -1137,8 +1137,8 @@ int ast_custom_function_unregister(struct ast_custom_function_obj *acf)
} else {
acf_root = acf->next;
}
- if (option_verbose)
- ast_verbose(VERBOSE_PREFIX_1 "Unregistered custom function %s\n", acf->name);
+ if (option_verbose > 1)
+ ast_verbose(VERBOSE_PREFIX_2 "Unregistered custom function %s\n", acf->name);
return 0;
}
lastacf = acfptr;
@@ -1158,8 +1158,8 @@ int ast_custom_function_register(struct ast_custom_function_obj *acf)
}
acf->next = acf_root;
acf_root = acf;
- if (option_verbose)
- ast_verbose(VERBOSE_PREFIX_1 "Registered custom function %s\n", acf->name);
+ if (option_verbose > 1)
+ ast_verbose(VERBOSE_PREFIX_2 "Registered custom function %s\n", acf->name);
return 0;
}