소스 검색

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,