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

Mikko Lehto mslehto at iki.fi
Tue Jan 17 16:31:53 CET 2017


Daniel-Constantin Mierla <miconda at gmail.com>:

> As usual, if anyone has fixes that were not backported yet, do it if you are a
> developer or write to sr-dev to be sure it is not missed.

Hi, I am getting mohqueue compile error on 4.4 branch but not on master:

---
CC (clang38) [M mohqueue.so]            mohq.o
mohq.c:452:25: warning: incompatible pointer types passing 'str (*)[1]'
to parameter of type 'str *' (aka 'struct _str *')
[-Wincompatible-pointer-types]
prtp_pv = pv_cache_get (&prtpstat);
                        ^~~~~~~~~
./../rr/../../pvar.h:208:30: note: passing argument to parameter 'name'
here
pv_spec_t* pv_cache_get(str *name);
                             ^
1 warning generated.
---


Looks like this commit is not backported:

> 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


-- 
Mikko Lehto



More information about the sr-dev mailing list