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

@@ -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)

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)) {