Thanks to snuffy for pointing this issue out and fixing it.
(closes issue ASTERISK-23250)
Reported by: snuffy
patches:
func_cdr-fix.diff uploaded by snuffy (License 5024)
........
Merged revisions 407259 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407260
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
fmt_time.tv_usec = tv_usec;
ast_localtime(&fmt_time, &tm, NULL);
- ast_strftime(tempbuf, sizeof(*tempbuf), "%Y-%m-%d %T", &tm);
+ ast_strftime(tempbuf, sizeof(tempbuf), "%Y-%m-%d %T", &tm);
} else if (!strcasecmp("disposition", args.variable)) {
int disposition;