aboutsummaryrefslogtreecommitdiffstats
path: root/cdr/cdr_sqlite3_custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'cdr/cdr_sqlite3_custom.c')
-rw-r--r--cdr/cdr_sqlite3_custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_sqlite3_custom.c b/cdr/cdr_sqlite3_custom.c
index afb4774db..6c9a431bd 100644
--- a/cdr/cdr_sqlite3_custom.c
+++ b/cdr/cdr_sqlite3_custom.c
@@ -176,7 +176,7 @@ static int load_config(int reload)
/* Nothing configured */
ast_mutex_unlock(&lock);
ast_config_destroy(cfg);
- return 0;
+ return -1;
}
/* Mapping must have a table name */