Skip to content

Commit

Permalink
jsonrpcs: give spath parameter for storing result
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed May 16, 2023
1 parent 640b8c5 commit 1d5722e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/jsonrpcs/jsonrpcs_fifo.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1d5722e

Please sign in to comment.