summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-11-01 12:05:43 +0100
committerAlfred E. Heggestad <aeh@db.org>2015-11-01 12:05:43 +0100
commit08381d765f13844db0c9c71d04804a722d7317a7 (patch)
tree60ff002f3316cebc56971f9c96ca89407306db49 /src
parent873eff0fa6df8b6c2e6445e7e88979e4a49d49f3 (diff)
ua: additional debug
Diffstat (limited to 'src')
-rw-r--r--src/ua.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ua.c b/src/ua.c
index 3de306c..7997a88 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -92,6 +92,9 @@ static void exit_handler(void *arg)
{
(void)arg;
+ debug("ua: sip-stack exit\n");
+ module_app_unload();
+
re_cancel();
}
@@ -1067,6 +1070,7 @@ int ua_debug(struct re_printf *pf, const struct ua *ua)
return 0;
err = re_hprintf(pf, "--- %s ---\n", ua->acc->aor);
+ err |= re_hprintf(pf, " nrefs: %u\n", mem_nrefs(ua));
err |= re_hprintf(pf, " cuser: %s\n", ua->cuser);
err |= re_hprintf(pf, " pub-gruu: %s\n", ua->pub_gruu);
err |= re_hprintf(pf, " af: %s\n", net_af2name(ua->af));