Module: sip-router Branch: master Commit: 920f02bde0f7b6e3484850f4677c603b9c8740c8 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=920f02bd...
Author: Juha Heinanen jh@tutpro.com Committer: Juha Heinanen jh@tutpro.com Date: Wed Mar 5 07:03:54 2014 +0200
modules/kex: ask pkg.stats to return array value
---
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} };