浏览代码

modules/kex: fixed type of stats.get_statistics result

Juha Heinanen 11 年之前
父节点
当前提交
e6b7ec3842
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/kex/core_stats.c

+ 1 - 1
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,