Skip to content

Commit

Permalink
dialplan: enhance debug probe
Browse files Browse the repository at this point in the history
(cherry picked from commit f0a75d9)
  • Loading branch information
ovidiusas committed Nov 25, 2015
1 parent 21b2728 commit 8ce36d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/dialplan/dialplan.c
Expand Up @@ -401,9 +401,10 @@ static void dp_print_list(void)
LM_DBG("List is empty\n");

while (start != NULL) {
LM_DBG("Partition %.*s url %.*s table %.*s\n", start->partition.len,
start->partition.s, start->dp_db_url.len,start->dp_db_url.s,
start->dp_table_name.len, start->dp_table_name.s);
LM_DBG("Partition=[%.*s] url=[%.*s] table=[%.*s] next=[%p]\n",
start->partition.len, start->partition.s,
start->dp_db_url.len, start->dp_db_url.s,
start->dp_table_name.len, start->dp_table_name.s, start->next);
start = (dp_head_p)start->next;
}
}
Expand Down

0 comments on commit 8ce36d3

Please sign in to comment.