[sr-dev] git:master:9067def6: auth_ephemeral: dump secrets rpc result is an array
Daniel-Constantin Mierla
miconda at gmail.com
Fri Dec 30 11:58:57 CET 2016
Module: kamailio
Branch: master
Commit: 9067def6e1f84ed0c9e4209b477bb9da17709fda
URL: https://github.com/kamailio/kamailio/commit/9067def6e1f84ed0c9e4209b477bb9da17709fda
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-12-30T11:58:45+01:00
auth_ephemeral: dump secrets rpc result is an array
---
Modified: src/modules/auth_ephemeral/autheph_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/9067def6e1f84ed0c9e4209b477bb9da17709fda.diff
Patch: https://github.com/kamailio/kamailio/commit/9067def6e1f84ed0c9e4209b477bb9da17709fda.patch
---
diff --git a/src/modules/auth_ephemeral/autheph_mod.c b/src/modules/auth_ephemeral/autheph_mod.c
index 315f83b..4f23910 100644
--- a/src/modules/auth_ephemeral/autheph_mod.c
+++ b/src/modules/auth_ephemeral/autheph_mod.c
@@ -383,7 +383,7 @@ static const char* autheph_rpc_rm_secret_doc[2] = {
rpc_export_t autheph_rpc_cmds[] = {
{"autheph.dump_secrets", autheph_rpc_dump_secrets,
- autheph_rpc_dump_secrets_doc, 0},
+ autheph_rpc_dump_secrets_doc, RET_ARRAY},
{"autheph.add_secret", autheph_rpc_add_secret,
autheph_rpc_add_secret_doc, 0},
{"autheph.add_secret", autheph_rpc_rm_secret,
More information about the sr-dev
mailing list