ubus: parse "call" method params only for relevant call
authorRafał Miłecki <rafal@milecki.pl>
Thu, 23 Jul 2020 05:38:07 +0000 (07:38 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Sat, 25 Jul 2020 08:24:39 +0000 (10:24 +0200)
commit8d9e1fce9f89d07c41e8c4984c6583babfc9709f
tree94ae80be631beedcc28ea8a4fe7d4eb2a01109c4
parent939c281c70ef82929ffcb3cb383fd6fdc40f341b
ubus: parse "call" method params only for relevant call

There is no point in parsing "call" specific params for other ("list")
method calls. This is a minor cleanup that doesn't change uhttpd ubus
behaviour.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Jo-Philipp Wich <jo@mein.io>
ubus.c