Module: kamailio
Branch: master
Commit: 7248d3be5e9367ba23b4806e44bd347fa8e69d6b
URL:
https://github.com/kamailio/kamailio/commit/7248d3be5e9367ba23b4806e44bd347…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-01-03T12:18:27+01:00
imc: imc.list_rooms returns a rpc array
---
Modified: src/modules/imc/imc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7248d3be5e9367ba23b4806e44bd347…
Patch:
https://github.com/kamailio/kamailio/commit/7248d3be5e9367ba23b4806e44bd347…
---
diff --git a/src/modules/imc/imc.c b/src/modules/imc/imc.c
index 9693555..218a6b1 100644
--- a/src/modules/imc/imc.c
+++ b/src/modules/imc/imc.c
@@ -807,7 +807,7 @@ static const char* imc_rpc_list_members_doc[2] = {
};
rpc_export_t imc_rpc[] = {
- {"imc.list_rooms", imc_rpc_list_rooms, imc_rpc_list_rooms_doc, 0},
+ {"imc.list_rooms", imc_rpc_list_rooms, imc_rpc_list_rooms_doc, RET_ARRAY},
{"imc.list_members", imc_rpc_list_members, imc_rpc_list_members_doc, 0},
{0, 0, 0, 0}
};