mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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:
@@ -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)
|
||||
|
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user