Misc formatting cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-06-22 20:11:15 +00:00
parent 024f486810
commit 3f9c34f415
10 changed files with 45 additions and 51 deletions

7
cdr.c
View File

@@ -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");
}