Module: kamailio
Branch: 4.4
Commit: df5ef6183350d99f77087dd83950ef35466e84a1
URL:
https://github.com/kamailio/kamailio/commit/df5ef6183350d99f77087dd83950ef3…
Author: Robert Boisvert <rdbprog(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-01-17T17:25:27+01:00
mohqueue: fix pointer for RTP statistics error
(cherry picked from commit dc96dfdee3c6a8e56ed9e5929e444bf8ee2f5cdd)
Conflicts:
modules/mohqueue/mohq.c
---
Modified: modules/mohqueue/mohq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/df5ef6183350d99f77087dd83950ef3…
Patch:
https://github.com/kamailio/kamailio/commit/df5ef6183350d99f77087dd83950ef3…
---
diff --git a/modules/mohqueue/mohq.c b/modules/mohqueue/mohq.c
index 55a85ea..ba74002 100644
--- a/modules/mohqueue/mohq.c
+++ b/modules/mohqueue/mohq.c
@@ -449,7 +449,7 @@ if(rtplen != prtpstat->len)
LM_ERR ("Unable to find RTPSTAT pv!\n");
goto initerr;
}
-prtp_pv = pv_cache_get (&prtpstat);
+prtp_pv = pv_cache_get (prtpstat);
if(!prtp_pv)
{
LM_ERR ("Unable to find pv spec for RTPSTAT!\n");
@@ -479,4 +479,4 @@ if (pmod_data->pcall_lock->plock)
shm_free (pmod_data);
pmod_data = NULL;
return -1;
-}
\ No newline at end of file
+}