diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-07 15:10:53 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-07 15:10:53 +0000 |
commit | 777979c9d9280bfd9526345a1b326ad46b1b45fb (patch) | |
tree | cd9d222f85bc1302198a672da2c2053c6ff9fb7d /cdr | |
parent | 74e3e06ffb509741ede7b58fc7e290249893fa59 (diff) |
Fix runtime symbol error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136406 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rw-r--r-- | cdr/cdr_tds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_tds.c b/cdr/cdr_tds.c index 750895d0e..2046f89cd 100644 --- 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); |