[asterisk-addons-commits] russell: trunk r399 - in /trunk: ./ cdr_addon_mysql.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Mon Jun 18 17:41:09 CDT 2007


Author: russell
Date: Mon Jun 18 17:41:09 2007
New Revision: 399

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=399
Log:
Merged revisions 398 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-addons/branches/1.4

........
r398 | russell | 2007-06-18 17:40:40 -0500 (Mon, 18 Jun 2007) | 2 lines

Fix cdr_addon_mysql to work with Asterisk 1.4.5 due to an API change ...

........

Modified:
    trunk/   (props changed)
    trunk/cdr_addon_mysql.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.4-merged (original)
+++ branch-1.4-merged Mon Jun 18 17:41:09 2007
@@ -1,1 +1,1 @@
-/branches/1.4:1-299,308,310,317,319,329,342,348,358,380,382,387,389
+/branches/1.4:1-299,308,310,317,319,329,342,348,358,380,382,387,389,398

Modified: trunk/cdr_addon_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/cdr_addon_mysql.c?view=diff&rev=399&r1=398&r2=399
==============================================================================
--- trunk/cdr_addon_mysql.c (original)
+++ trunk/cdr_addon_mysql.c Mon Jun 18 17:41:09 2007
@@ -140,7 +140,7 @@
 
 	memset(sqlcmd, 0, 2048);
 
-	localtime_r(&cdr->start.tv_sec, &tm);
+	ast_localtime(&cdr->start.tv_sec, &tm, NULL);
 	strftime(timestr, 128, DATE_FORMAT, &tm);
 
 db_reconnect:




More information about the asterisk-addons-commits mailing list