Module: sip-router Branch: master Commit: 73fb0285f8447cc4eb8d9806c3cf573403f5ab72 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73fb0285...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Aug 15 22:17:28 2014 +0200
core: rpc core.psx is returning an array
- otherwise it breaks unique member name for structures, because it returs many records
---
core_cmd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/core_cmd.c b/core_cmd.c index 1c2dfb6..afa4cf5 100644 --- a/core_cmd.c +++ b/core_cmd.c @@ -969,7 +969,7 @@ static rpc_export_t core_rpc_methods[] = { 0 }, {"core.uptime", core_uptime, core_uptime_doc, 0 }, {"core.ps", core_ps, core_ps_doc, RET_ARRAY}, - {"core.psx", core_psx, core_psx_doc, 0}, + {"core.psx", core_psx, core_psx_doc, RET_ARRAY}, {"core.pwd", core_pwd, core_pwd_doc, RET_ARRAY}, {"core.arg", core_arg, core_arg_doc, RET_ARRAY}, {"core.kill", core_kill, core_kill_doc, 0 },