projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b578d
)
Fix runtime symbol error
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Thu, 7 Aug 2008 15:10:53 +0000
(15:10 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Thu, 7 Aug 2008 15:10:53 +0000
(15:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136406
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
cdr/cdr_tds.c
patch
|
blob
|
history
diff --git
a/cdr/cdr_tds.c
b/cdr/cdr_tds.c
index
750895d
..
2046f89
100644
(file)
--- a/
cdr/cdr_tds.c
+++ b/
cdr/cdr_tds.c
@@
-268,7
+268,7
@@
static char *anti_injection(const char *str, int len)
static void get_date(char *dateField, size_t len, struct timeval when)
{
/* To make sure we have date variable if not insert null to SQL */
- if (!ast_tvzero(tv)) {
+ if (!ast_tvzero(when)) {
struct ast_tm tm;
ast_localtime(&when, &tm, NULL);
ast_strftime(dateField, len, "'" DATE_FORMAT "'", &tm);