diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-22 20:11:15 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-22 20:11:15 +0000 |
commit | 899ce8fd6d00884844847794317e88d70eaec896 (patch) | |
tree | bffd10bbd58f5360e9fada3ea452b7a61dfac862 /cdr.c | |
parent | 08d0c132c31ede086cc473d943aff80c76f47719 (diff) |
Misc formatting cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3279 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr.c')
-rwxr-xr-x | cdr.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -503,11 +503,10 @@ void ast_cdr_reset(struct ast_cdr *cdr, int post) } void ast_cdr_append(struct ast_cdr *cdr, struct ast_cdr *newcdr) { - if(cdr) { + if (cdr) { while(cdr->next) cdr = cdr->next; cdr->next = newcdr; - } else - ast_log(LOG_ERROR, "Can't append a CDR to NULL!\n"); - + } else + ast_log(LOG_ERROR, "Can't append a CDR to NULL!\n"); } |