[sr-dev] git:4.1: modules/kex: ask pkg.stats to return array value

Juha Heinanen jh at tutpro.com
Wed Mar 5 06:12:30 CET 2014


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

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Wed Mar  5 07:03:54 2014 +0200

modules/kex: ask pkg.stats to return array value
(cherry picked from commit 920f02bde0f7b6e3484850f4677c603b9c8740c8)

---

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

diff --git a/modules/kex/pkg_stats.c b/modules/kex/pkg_stats.c
index ce98e6f..244e150 100644
--- a/modules/kex/pkg_stats.c
+++ b/modules/kex/pkg_stats.c
@@ -258,7 +258,7 @@ static void rpc_pkg_stats(rpc_t* rpc, void* ctx)
  *
  */
 rpc_export_t kex_pkg_rpc[] = {
-	{"pkg.stats", rpc_pkg_stats,  rpc_pkg_stats_doc,       0},
+	{"pkg.stats", rpc_pkg_stats,  rpc_pkg_stats_doc,       RET_ARRAY},
 	{0, 0, 0, 0}
 };
 




More information about the sr-dev mailing list