Module: sip-router
Branch: master
Commit: e6b7ec384211475d9f8ce7c468d44c90c1521059
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e6b7ec3…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Mon May 19 12:16:58 2014 +0300
modules/kex: fixed type of stats.get_statistics result
---
modules/kex/core_stats.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/kex/core_stats.c b/modules/kex/core_stats.c
index ebf17db..55118db 100644
--- a/modules/kex/core_stats.c
+++ b/modules/kex/core_stats.c
@@ -462,7 +462,7 @@ static const char* rpc_stats_clear_statistics_doc[2] =
rpc_export_t kex_stats_rpc[] =
{
{"stats.get_statistics", rpc_stats_get_statistics,
- rpc_stats_get_statistics_doc, 0},
+ rpc_stats_get_statistics_doc, RET_ARRAY},
{"stats.reset_statistics", rpc_stats_reset_statistics,
rpc_stats_reset_statistics_doc, 0},
{"stats.clear_statistics", rpc_stats_clear_statistics,