[asterisk-commits] seanbright: branch 1.6.2 r252317 - in /branches/1.6.2: ./ cdr/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Mar 14 12:48:58 CDT 2010
Author: seanbright
Date: Sun Mar 14 12:48:54 2010
New Revision: 252317
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=252317
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.2/ (props changed)
branches/1.6.2/cdr/cdr_sqlite3_custom.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/cdr/cdr_sqlite3_custom.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/cdr/cdr_sqlite3_custom.c?view=diff&rev=252317&r1=252316&r2=252317
==============================================================================
--- branches/1.6.2/cdr/cdr_sqlite3_custom.c (original)
+++ branches/1.6.2/cdr/cdr_sqlite3_custom.c Sun Mar 14 12:48:54 2010
@@ -220,7 +220,7 @@
}
}
-static int sqlite3_log(struct ast_cdr *cdr)
+static int write_cdr(struct ast_cdr *cdr)
{
int res = 0;
char *error = NULL;
@@ -321,7 +321,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