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

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 17 17:27:58 CET 2017


Backported -- for what so ever reason it threw an error while cherry
picking, but I think all is fine after fixing it.

Thanks,
Daniel


On 17/01/2017 16:31, Mikko Lehto wrote:
> 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
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com




More information about the sr-dev mailing list