summaryrefslogtreecommitdiff
path: root/main/logger.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-03-22 19:51:16 +0000
committerKinsey Moore <kmoore@digium.com>2012-03-22 19:51:16 +0000
commitc5b3db1956a3db2446b0310b3a7d59961fe3e089 (patch)
tree530b55034f5adfb0c7106ae1194679a031afc888 /main/logger.c
parent1d1c28ac4b09df2b663123e55239e411b8f5ad26 (diff)
Kill off red blobs in most of main/*
Everything still compiled after making these changes, so I assume these whitespace-only changes didn't break anything (and shouldn't have). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/logger.c b/main/logger.c
index 1c13773df..37f13cea6 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -832,17 +832,17 @@ static char *handle_logger_rotate(struct ast_cli_entry *e, int cmd, struct ast_c
switch (cmd) {
case CLI_INIT:
e->command = "logger rotate";
- e->usage =
+ e->usage =
"Usage: logger rotate\n"
" Rotates and Reopens the log files.\n";
return NULL;
case CLI_GENERATE:
- return NULL;
+ return NULL;
}
if (reload_logger(1, NULL)) {
ast_cli(a->fd, "Failed to reload the logger and rotate log files\n");
return CLI_FAILURE;
- }
+ }
return CLI_SUCCESS;
}
@@ -855,7 +855,7 @@ static char *handle_logger_set_level(struct ast_cli_entry *e, int cmd, struct as
switch (cmd) {
case CLI_INIT:
e->command = "logger set level {DEBUG|NOTICE|WARNING|ERROR|VERBOSE|DTMF} {on|off}";
- e->usage =
+ e->usage =
"Usage: logger set level {DEBUG|NOTICE|WARNING|ERROR|VERBOSE|DTMF} {on|off}\n"
" Set a specific log level to enabled/disabled for this console.\n";
return NULL;
@@ -896,12 +896,12 @@ static char *handle_logger_show_channels(struct ast_cli_entry *e, int cmd, struc
switch (cmd) {
case CLI_INIT:
e->command = "logger show channels";
- e->usage =
+ e->usage =
"Usage: logger show channels\n"
" List configured logger channels.\n";
return NULL;
case CLI_GENERATE:
- return NULL;
+ return NULL;
}
ast_cli(a->fd, FORMATL, "Channel", "Type", "Status");
ast_cli(a->fd, "Configuration\n");
@@ -1291,7 +1291,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
#ifdef HAVE_BKTR
-struct ast_bt *ast_bt_create(void)
+struct ast_bt *ast_bt_create(void)
{
struct ast_bt *bt = ast_calloc(1, sizeof(*bt));
if (!bt) {
@@ -1574,7 +1574,7 @@ void ast_verbose(const char *fmt, ...)
va_end(ap);
}
-int ast_register_verbose(void (*v)(const char *string))
+int ast_register_verbose(void (*v)(const char *string))
{
struct verb *verb;
@@ -1586,7 +1586,7 @@ int ast_register_verbose(void (*v)(const char *string))
AST_RWLIST_WRLOCK(&verbosers);
AST_RWLIST_INSERT_HEAD(&verbosers, verb, list);
AST_RWLIST_UNLOCK(&verbosers);
-
+
return 0;
}
@@ -1604,7 +1604,7 @@ int ast_unregister_verbose(void (*v)(const char *string))
}
AST_RWLIST_TRAVERSE_SAFE_END;
AST_RWLIST_UNLOCK(&verbosers);
-
+
return cur ? 0 : -1;
}