clean up output and print that we are unregistering a channel type
authorJeremy McNamara <jj@nufone.net>
Wed, 14 Jan 2004 06:04:46 +0000 (06:04 +0000)
committerJeremy McNamara <jj@nufone.net>
Wed, 14 Jan 2004 06:04:46 +0000 (06:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c
channel.c

index 9c4507b..a497807 100755 (executable)
@@ -202,8 +202,8 @@ static int confs_show(int fd, int argc, char **argv)
        struct ast_conference *conf;
        int hr, min, sec;
        time_t now;
-       char *header_format = "%14s %-14s %-8s  %-8s\n";
-       char *data_format = "%-12.12s   %4.4d          %02d:%02d:%02d  %-8s\n";
+       char *header_format = "%-14s %-14s %-8s  %-8s\n";
+       char *data_format = "%-12.12s   %4.4d           %02d:%02d:%02d  %-8s\n";
 
        now = time(NULL);
        if (argc != 2)
index 89b70f6..72540bc 100755 (executable)
--- 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)) {