Kaynağa Gözat

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

Timo Reimann 14 yıl önce
ebeveyn
işleme
cf8e80cbe5
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      modules_k/dialog/dialog.c

+ 2 - 2
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,