[sr-dev] select error without line number
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jan 23 08:50:30 CET 2017
On 21/01/2017 01:49, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I just pushed a patch that should print cfg line and column in such
>> case. Can you test and see if works ok?
> The commit didn't change the syslog output. The commit checks if
> fix_rval returns negative result:
>
> case RVE_RVAL_OP:
> ret = fix_rval(&rve->left.rval);
> if (ret<0) goto error;
> return ret;
>
> but looks like it always returns 0:
>
> static int fix_rval(struct rvalue* rv)
> {
> ...
> case RV_SEL:
> if (resolve_select(&rv->v.sel)<0){
> ERR("Unable to resolve select\n");
> print_select(&rv->v.sel);
> }
> return 0;
I pushed another commit for it.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
More information about the sr-dev
mailing list