Module: kamailio
Branch: 5.7
Commit: 20ca1f8164dd5da70b0490300f2a57f65ff9a663
URL: 
https://github.com/kamailio/kamailio/commit/20ca1f8164dd5da70b0490300f2a57f65ff9a663

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2023-05-16T12:21:35+02:00

jsonrpcs: give spath parameter for storing result

(cherry picked from commit 1d5722e18e04e8935b342d303fe265c5d8f06e8e)

---

Modified: src/modules/jsonrpcs/jsonrpcs_fifo.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/20ca1f8164dd5da70b0490300f2a57f65ff9a663.diff
Patch: 
https://github.com/kamailio/kamailio/commit/20ca1f8164dd5da70b0490300f2a57f65ff9a663.patch

---

diff --git a/src/modules/jsonrpcs/jsonrpcs_fifo.c 
b/src/modules/jsonrpcs/jsonrpcs_fifo.c
index b6bbcedb28b..27a3cb57feb 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;
                }

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to