Victor Seva writes:
> can you test this, please:
>
> diff --git a/modules/usrloc/ul_rpc.c b/modules/usrloc/ul_rpc.c
> index d9535cb..5675081 100644
> --- a/modules/usrloc/ul_rpc.c
> +++ b/modules/usrloc/ul_rpc.c
> @@ -559,7 +559,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
> rpc->fault(ctx, 500, "2:Not enough parameters or wrong
> format");
> return;
> }
> - ret = rpc->scan(ctx, "Sddd", &useless, &ci.flags, &ci.cflags,
> &ci.methods);
> + ret = rpc->scan(ctx, ".Sddd", &useless, &ci.flags, &ci.cflags,
> &ci.methods);
> LM_DBG("ret: %d useless:%.*s flags:%d bflags:%d methods:%d\n",
> ret, useless.len, useless.s, ci.flags, ci.cflags, (int)ci.methods);
> if ( ret != 4) {
> rpc->fault(ctx, 500, "3:Not enough parameters or wrong
> format");
i tried that change and still get error 3. as i wrote in previous
message, the original Sddd is fine with me as long as it is documented
in readme that unused param is of type string.
-- juha
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev