[sr-dev] git:master: modules/lcr: fixed printing of lcr_id by lcr.dump_lcrs

Juha Heinanen jh at tutpro.com
Tue Jun 30 16:43:31 CEST 2009


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

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Tue Jun 30 17:41:22 2009 +0300

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

- Fixed printing of lcr_id by lcr.dump_lcrs command.

---

 modules/lcr/lcr_rpc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/lcr/lcr_rpc.c b/modules/lcr/lcr_rpc.c
index ef3d2f2..d9f5e72 100644
--- a/modules/lcr/lcr_rpc.c
+++ b/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,




More information about the sr-dev mailing list