Module: kamailio
Branch: master
Commit: 9ebf483a51b8584c05a2bcd3d4b26ac22a878ce8
URL:
https://github.com/kamailio/kamailio/commit/9ebf483a51b8584c05a2bcd3d4b26ac…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2022-01-03T16:36:46+01:00
rtpengine: Fix typo in RPC response handling
---
Modified: src/modules/rtpengine/rtpengine.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9ebf483a51b8584c05a2bcd3d4b26ac…
Patch:
https://github.com/kamailio/kamailio/commit/9ebf483a51b8584c05a2bcd3d4b26ac…
---
diff --git a/src/modules/rtpengine/rtpengine.c b/src/modules/rtpengine/rtpengine.c
index 3440daec93..ab6920c01d 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -1341,7 +1341,7 @@ static void rtpengine_rpc_reload(rpc_t* rpc, void* ctx)
LM_DBG("current rtpengines list version: %d (%u)\n",
_rtpe_list_version->vernum,
(unsigned int)_rtpe_list_version->vertime);
- rpc->rpl_printf(c, "Ok. Reload successful.");
+ rpc->rpl_printf(ctx, "Ok. Reload successful.");
}
static int rtpengine_rpc_iterate(rpc_t* rpc, void* ctx, const str *rtpp_url,