Browse code

core: rpc core.psx is returning an array

- otherwise it breaks unique member name for structures, because it
returs many records

Daniel-Constantin Mierla authored on 15/08/2014 20:17:28
Showing 1 changed files
... ...
@@ -969,7 +969,7 @@ static rpc_export_t core_rpc_methods[] = {
969 969
 		0        },
970 970
 	{"core.uptime",            core_uptime,            core_uptime_doc,            0        },
971 971
 	{"core.ps",                core_ps,                core_ps_doc,                RET_ARRAY},
972
-	{"core.psx",               core_psx,               core_psx_doc,                0},
972
+	{"core.psx",               core_psx,               core_psx_doc,               RET_ARRAY},
973 973
 	{"core.pwd",               core_pwd,               core_pwd_doc,               RET_ARRAY},
974 974
 	{"core.arg",               core_arg,               core_arg_doc,               RET_ARRAY},
975 975
 	{"core.kill",              core_kill,              core_kill_doc,              0        },