aboutsummaryrefslogtreecommitdiffstats
path: root/cdr/cdr_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdr/cdr_manager.c')
-rw-r--r--cdr/cdr_manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c
index 4fa66b560..062718039 100644
--- a/cdr/cdr_manager.c
+++ b/cdr/cdr_manager.c
@@ -142,6 +142,7 @@ static int manager_log(struct ast_cdr *cdr)
ast_localtime(&cdr->end, &timeresult, NULL);
ast_strftime(strEndTime, sizeof(strEndTime), DATE_FORMAT, &timeresult);
+ buf[0] = 0;
/* Custom fields handling */
if (customfields != NULL && customfields->used > 0) {
memset(&dummy, 0, sizeof(dummy));