Module: kamailio
Branch: master
Commit: 1d5722e18e04e8935b342d303fe265c5d8f06e8e
URL:
https://github.com/kamailio/kamailio/commit/1d5722e18e04e8935b342d303fe265c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-16T12:20:36+02:00
jsonrpcs: give spath parameter for storing result
---
Modified: src/modules/jsonrpcs/jsonrpcs_fifo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1d5722e18e04e8935b342d303fe265c…
Patch:
https://github.com/kamailio/kamailio/commit/1d5722e18e04e8935b342d303fe265c…
---
diff --git a/src/modules/jsonrpcs/jsonrpcs_fifo.c b/src/modules/jsonrpcs/jsonrpcs_fifo.c
index b6bbcedb28..27a3cb57fe 100644
--- a/src/modules/jsonrpcs/jsonrpcs_fifo.c
+++ b/src/modules/jsonrpcs/jsonrpcs_fifo.c
@@ -464,7 +464,7 @@ static void jsonrpc_fifo_server(FILE *fifo_stream)
srpath.len = 128;
spath.s = buf_spath;
spath.len = 128;
- if(jsonrpc_exec_ex(&scmd, &srpath, NULL)<0) {
+ if(jsonrpc_exec_ex(&scmd, &srpath, &spath)<0) {
LM_ERR("failed to execute the json document from fifo stream\n");
continue;
}