瀏覽代碼

modules/lcr: fixed printing of lcr_id by lcr.dump_lcrs

- Fixed printing of lcr_id by lcr.dump_lcrs command.
Juha Heinanen 16 年之前
父節點
當前提交
d99a4102bc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/lcr/lcr_rpc.c

+ 1 - 1
modules/lcr/lcr_rpc.c

@@ -148,7 +148,7 @@ static void dump_lcrs(rpc_t* rpc, void* c)
 			from_uri.s=lcr_rec->from_uri;
 			from_uri.len=lcr_rec->from_uri_len;
 			rpc->struct_add(st, "dSSdd",
-					"lcr_id", &lcr_id,
+					"lcr_id", j,
 					"prefix", &prefix,
 					"from_uri", &from_uri,
 					"grp_id", lcr_rec->grp_id,