summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2004-01-14 06:04:46 +0000
committerJeremy McNamara <jj@nufone.net>2004-01-14 06:04:46 +0000
commit74aea6680a98ab45e40d4cdd6a9c0b25f3708c85 (patch)
treeb150ceec2c9488ce63df47638df0e96e877c3ff5 /channel.c
parent35a1ef819846f0a475f635a63a8cea35cfbbcab9 (diff)
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
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 89b70f6fe..72540bc53 100755
--- a/channel.c
+++ b/channel.c
@@ -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)) {