From dc96dfdee3c6a8e56ed9e5929e444bf8ee2f5cdd Mon Sep 17 00:00:00 2001 From: Robert Boisvert Date: Tue, 18 Oct 2016 18:00:42 -0400 Subject: [PATCH] mohqueue: fix pointer for RTP statistics error --- modules/mohqueue/mohq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mohqueue/mohq.c b/modules/mohqueue/mohq.c index 17b2f2b4860..a6ae5cf9d97 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");