summaryrefslogtreecommitdiff
path: root/cdr/cdr_custom.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2008-11-20 17:48:58 +0000
committerTerry Wilson <twilson@digium.com>2008-11-20 17:48:58 +0000
commit4f8242904af6d074064773ef6e2a2b9b13762303 (patch)
tree77edf0f394739299c2aecf46a35f769ab2f493ae /cdr/cdr_custom.c
parentad918da94fea8b83b7509306473760706de737cf (diff)
Begin on a crusade to end trailing whitespace!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr/cdr_custom.c')
-rw-r--r--cdr/cdr_custom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c
index 45207750a..c7974b0e7 100644
--- a/cdr/cdr_custom.c
+++ b/cdr/cdr_custom.c
@@ -57,7 +57,7 @@ static char *name = "cdr-custom";
static char master[PATH_MAX];
static char format[1024]="";
-static int load_config(int reload)
+static int load_config(int reload)
{
struct ast_config *cfg;
struct ast_variable *var;
@@ -85,7 +85,7 @@ static int load_config(int reload)
strcat(format,"\n");
snprintf(master, sizeof(master),"%s/%s/%s", ast_config_AST_LOG_DIR, name, var->name);
if (var->next) {
- ast_log(LOG_NOTICE, "Sorry, only one mapping is supported at this time, mapping '%s' will be ignored at line %d.\n", var->next->name, var->next->lineno);
+ ast_log(LOG_NOTICE, "Sorry, only one mapping is supported at this time, mapping '%s' will be ignored at line %d.\n", var->next->name, var->next->lineno);
break;
}
} else
@@ -101,7 +101,7 @@ static int load_config(int reload)
ast_log(LOG_WARNING, "Failed to load configuration file. Module not activated.\n");
}
ast_mutex_unlock(&lock);
-
+
return res;
}
@@ -158,7 +158,7 @@ static int load_module(void)
if (res)
ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
return res;
- } else
+ } else
return AST_MODULE_LOAD_DECLINE;
}