[asterisk-commits] seanbright: branch 1.6.0 r252315 - in /branches/1.6.0: ./ cdr/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Mar 14 12:45:57 CDT 2010
Author: seanbright
Date: Sun Mar 14 12:45:53 2010
New Revision: 252315
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=252315
Log:
Merged revisions 252314 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r252314 | seanbright | 2010-03-14 13:43:46 -0400 (Sun, 14 Mar 2010) | 8 lines
Fix building CDR and CEL SQLite3 modules.
They added a sqlite3_log() function which was conflicting with our function
names.
(closes issue #17017)
Reported by: alephlg
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/cdr/cdr_sqlite3_custom.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/cdr/cdr_sqlite3_custom.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/cdr/cdr_sqlite3_custom.c?view=diff&rev=252315&r1=252314&r2=252315
==============================================================================
--- branches/1.6.0/cdr/cdr_sqlite3_custom.c (original)
+++ branches/1.6.0/cdr/cdr_sqlite3_custom.c Sun Mar 14 12:45:53 2010
@@ -226,7 +226,7 @@
ast_free(value);
}
-static int sqlite3_log(struct ast_cdr *cdr)
+static int write_cdr(struct ast_cdr *cdr)
{
int res = 0;
char *error = NULL;
@@ -329,7 +329,7 @@
}
}
- res = ast_cdr_register(name, desc, sqlite3_log);
+ res = ast_cdr_register(name, desc, write_cdr);
if (res) {
ast_log(LOG_ERROR, "Unable to register custom SQLite3 CDR handling\n");
free_config(0);
More information about the asterisk-commits
mailing list