aboutsummaryrefslogtreecommitdiffstats
path: root/cel
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-14 17:43:46 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-14 17:43:46 +0000
commit4425687c69941c1d841d82b524c05d19bbd7914a (patch)
tree6291d2177044eeeff15310892a78134f7a296216 /cel
parentb13cd7944005fcb4d2a71b489267b1ddf262a816 (diff)
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 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252314 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cel')
-rw-r--r--cel/cel_sqlite3_custom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cel/cel_sqlite3_custom.c b/cel/cel_sqlite3_custom.c
index c37641ba8..94765d3e4 100644
--- a/cel/cel_sqlite3_custom.c
+++ b/cel/cel_sqlite3_custom.c
@@ -226,7 +226,7 @@ static void free_config(void)
}
}
-static void sqlite3_log(const struct ast_event *event, void *userdata)
+static void write_cel(const struct ast_event *event, void *userdata)
{
char *error = NULL;
char *sql = NULL;
@@ -336,7 +336,7 @@ static int load_module(void)
}
}
- event_sub = ast_event_subscribe(AST_EVENT_CEL, sqlite3_log, "CEL sqlite3 custom backend", NULL, AST_EVENT_IE_END);
+ event_sub = ast_event_subscribe(AST_EVENT_CEL, write_cel, "CEL sqlite3 custom backend", NULL, AST_EVENT_IE_END);
if (!event_sub) {
ast_log(LOG_ERROR, "Unable to register custom SQLite3 CEL handling\n");
free_config();