diff options
author | Terry Wilson <twilson@digium.com> | 2008-11-20 17:48:58 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2008-11-20 17:48:58 +0000 |
commit | 4f8242904af6d074064773ef6e2a2b9b13762303 (patch) | |
tree | 77edf0f394739299c2aecf46a35f769ab2f493ae /cdr/cdr_manager.c | |
parent | ad918da94fea8b83b7509306473760706de737cf (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_manager.c')
-rw-r--r-- | cdr/cdr_manager.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c index 4dad2306f..fea808dc6 100644 --- a/cdr/cdr_manager.c +++ b/cdr/cdr_manager.c @@ -17,7 +17,7 @@ /*! \file * * \brief Asterisk Call Manager CDR records. - * + * * See also * \arg \ref AstCDR * \arg \ref AstAMI @@ -80,14 +80,14 @@ static int load_config(int reload) enablecdr = 0; return 0; } - + while ( (cat = ast_category_browse(cfg, cat)) ) { if (!strcasecmp(cat, "general")) { v = ast_variable_browse(cfg, cat); while (v) { if (!strcasecmp(v->name, "enabled")) newenablecdr = ast_true(v->value); - + v = v->next; } } else if (!strcasecmp(cat, "mappings")) { @@ -102,13 +102,13 @@ static int load_config(int reload) ast_log(LOG_WARNING, "No more buffer space to add other custom fields\n"); break; } - + } v = v->next; } } } - + ast_config_destroy(cfg); if (enablecdr && !newenablecdr) @@ -134,7 +134,7 @@ static int manager_log(struct ast_cdr *cdr) ast_localtime(&cdr->start, &timeresult, NULL); ast_strftime(strStartTime, sizeof(strStartTime), DATE_FORMAT, &timeresult); - + if (cdr->answer.tv_sec) { ast_localtime(&cdr->answer, &timeresult, NULL); ast_strftime(strAnswerTime, sizeof(strAnswerTime), DATE_FORMAT, &timeresult); |