[sr-dev] git:master: modules_k/dialog: Add reference count to list of items returned

Timo Reimann timo.reimann at 1und1.de
Tue Aug 23 15:38:26 CEST 2011


Module: sip-router
Branch: master
Commit: cf8e80cbe53380e628476edf0cff0e05b77e25f9
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cf8e80cbe53380e628476edf0cff0e05b77e25f9

Author: Timo Reimann <timo.reimann at 1und1.de>
Committer: Timo Reimann <timo.reimann at 1und1.de>
Date:   Tue Aug 23 15:36:45 2011 +0200

modules_k/dialog: Add reference count to list of items returned
via RPC.

---

 modules_k/dialog/dialog.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules_k/dialog/dialog.c b/modules_k/dialog/dialog.c
index 6711732..dc5cb87 100644
--- a/modules_k/dialog/dialog.c
+++ b/modules_k/dialog/dialog.c
@@ -1204,8 +1204,8 @@ static inline void internal_rpc_print_dlg(rpc_t *rpc, void *c, struct dlg_cell *
 {
 	rpc_cb_ctx_t rpc_cb;
 
-	rpc->printf(c, "hash:%u:%u state:%u timestart:%u timeout:%u",
-		dlg->h_entry, dlg->h_id, dlg->state, dlg->start_ts, dlg->tl.timeout);
+	rpc->printf(c, "hash:%u:%u state:%u ref_count:%u timestart:%u timeout:%u",
+		dlg->h_entry, dlg->h_id, dlg->state, dlg->ref, dlg->start_ts, dlg->tl.timeout);
 	rpc->printf(c, "\tcallid:%.*s from_tag:%.*s to_tag:%.*s",
 		dlg->callid.len, dlg->callid.s,
 		dlg->tag[DLG_CALLER_LEG].len, dlg->tag[DLG_CALLER_LEG].s,




More information about the sr-dev mailing list