ubus: use local "blob_buf" in uh_ubus_handle_request_object()
authorRafał Miłecki <rafal@milecki.pl>
Mon, 27 Jul 2020 05:07:34 +0000 (07:07 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 5 Aug 2020 06:24:19 +0000 (08:24 +0200)
commit628341fae41230627ff4055b248698bb6ed007a8
treeab9eac66a19b51a8554d6697734b8782b22275ac
parent9d663e76bd3ac91b18633eb8f4f0bfc6996c5875
ubus: use local "blob_buf" in uh_ubus_handle_request_object()

This follows two other functions logic: uh_ubus_send_request() and
uh_ubus_allowed(). Thanks to this change global "buf" variable is used
only for replies and doesn't require state tracking & reinitialization.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
ubus.c