X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=cdr%2Fcdr_csv.c;h=cca1e871445c7ec966d426442ccb46ea8636318d;hp=1c0da16d9bb0b074bd5d65cd1f1fd231f0747920;hb=fd88390af7bcd02958b434d0b6fdb494e721c06c;hpb=3ff440bd37445c9261b64fcb08f0d20c976b34e2 diff --git a/cdr/cdr_csv.c b/cdr/cdr_csv.c index 1c0da16..cca1e87 100644 --- a/cdr/cdr_csv.c +++ b/cdr/cdr_csv.c @@ -258,7 +258,7 @@ static int writefile(char *s, char *acc) return -1; } - snprintf(tmp, sizeof(tmp), "%s/%s/%s.csv", (char *)ast_config_AST_LOG_DIR,CSV_LOG_DIR, acc); + snprintf(tmp, sizeof(tmp), "%s/%s/%s.csv", ast_config_AST_LOG_DIR,CSV_LOG_DIR, acc); ast_mutex_lock(&acf_lock); if (!(f = fopen(tmp, "a"))) {