clean up output and print that we are unregistering a channel type

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2004-01-14 06:04:46 +00:00
parent 35a1ef8198
commit 74aea6680a
2 changed files with 5 additions and 2 deletions

View File

@@ -684,6 +684,9 @@ void ast_channel_unregister(char *type)
ast_log(LOG_WARNING, "Unable to lock channel list\n");
return;
}
if (option_verbose > 1)
ast_verbose( VERBOSE_PREFIX_2 "Unregistered channel type '%s'\n", type);
chan = backends;
while(chan) {
if (!strcasecmp(chan->type, type)) {