diff options
Diffstat (limited to 'cel/cel_sqlite3_custom.c')
-rw-r--r-- | cel/cel_sqlite3_custom.c | 4 |
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(); |