[sr-dev] git:4.4:df5ef618: mohqueue: fix pointer for RTP statistics error

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 17 17:26:18 CET 2017


Module: kamailio
Branch: 4.4
Commit: df5ef6183350d99f77087dd83950ef35466e84a1
URL: https://github.com/kamailio/kamailio/commit/df5ef6183350d99f77087dd83950ef35466e84a1

Author: Robert Boisvert <rdbprog at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/df5ef6183350d99f77087dd83950ef35466e84a1.diff
Patch: https://github.com/kamailio/kamailio/commit/df5ef6183350d99f77087dd83950ef35466e84a1.patch

---

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
+}




More information about the sr-dev mailing list