Module: kamailio Branch: master Commit: dc96dfdee3c6a8e56ed9e5929e444bf8ee2f5cdd URL: https://github.com/kamailio/kamailio/commit/dc96dfdee3c6a8e56ed9e5929e444bf8...
Author: Robert Boisvert rdbprog@gmail.com Committer: Robert Boisvert rdbprog@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/dc96dfdee3c6a8e56ed9e5929e444bf8... Patch: https://github.com/kamailio/kamailio/commit/dc96dfdee3c6a8e56ed9e5929e444bf8...
---
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");