[sr-dev] git:master:dc96dfde: mohqueue: fix pointer for RTP statistics error

Robert Boisvert rdbprog at gmail.com
Wed Oct 19 00:01:26 CEST 2016


Module: kamailio
Branch: master
Commit: dc96dfdee3c6a8e56ed9e5929e444bf8ee2f5cdd
URL: https://github.com/kamailio/kamailio/commit/dc96dfdee3c6a8e56ed9e5929e444bf8ee2f5cdd

Author: Robert Boisvert <rdbprog at gmail.com>
Committer: Robert Boisvert <rdbprog at gmail.com>
Date: 2016-10-18T18:00:42-04:00

mohqueue: fix pointer for RTP statistics error

---

Modified: modules/mohqueue/mohq.c

---

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

---

diff --git a/modules/mohqueue/mohq.c b/modules/mohqueue/mohq.c
index 17b2f2b..a6ae5cf 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[0]);
+prtp_pv = pv_cache_get (prtpstat);
 if(!prtp_pv)
   {
   LM_ERR ("Unable to find pv spec for RTPSTAT!\n");




More information about the sr-dev mailing list