Skip to content

Commit 26e8cac

Browse files
committed
dialplan: Fix function naming conflict
Commit 4e315e6 added a core test_db() function, breaking dialplan startup, because it was linking against it instead of the local one.
1 parent 30f94b5 commit 26e8cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/dialplan/dp_db.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void list_hash(dpl_id_t * , rw_lock_t *);
7979

8080
dp_connection_list_p dp_conns;
8181

82-
int test_db(dp_connection_list_p dp_connection)
82+
int dp_test_db(dp_connection_list_p dp_connection)
8383
{
8484
if (!dp_connection->partition.s) {
8585
LM_ERR("NULL partition name\n");
@@ -880,7 +880,7 @@ dp_connection_list_p dp_add_connection(dp_head_p head)
880880

881881
/* *el->dp_db_handle is set to null at the end of test_db;
882882
* no need to do it again here */
883-
if (test_db(el) != 0) {
883+
if (dp_test_db(el) != 0) {
884884
LM_ERR("Unable to test db\n");
885885
shm_free(el);
886886
return NULL;

0 commit comments

Comments
 (0)