[sr-dev] no line number given and why is $ru not writable?
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jun 1 22:11:17 CEST 2009
On 06/01/2009 10:35 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
> > K functions expect a pointer to pv_spec_t and now a pv_spec_t** is
> > returned when fixup_pvar() is used. fparam_t.v.pvs is a pv_spec_t* and
> > the *param (from fixup call) is filled with &fparam_t.v.
> >
> > A solution would be to add a void *fixed_param to fparam_t that is
> > either set to &fparam_t.v or to a filed insind 'u' union, and this one
> > is used to fill the 'param'.
>
> i hope that not all modules that accept pv arguments would need to be
> updated. let me know when this works and i'll resume my tests.
>
Here is a patch that should fix, if you want to test.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixup-pvar.patch
Type: text/x-patch
Size: 1704 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20090601/44cda677/attachment-0001.bin>
More information about the sr-dev
mailing list