libubus: do not use uloop_run() inside ubus_complete_request
authorFelix Fietkau <nbd@openwrt.org>
Tue, 18 Mar 2014 21:36:36 +0000 (22:36 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 18 Mar 2014 21:36:38 +0000 (22:36 +0100)
commit1d5ac421a5b3dca60562e876ba70d0c2fe46b3d2
tree035a40b55e580bfee6633d97866126bd16531c18
parent4d7b2ab6390584839bbee0a42bf1556b25afb4f1
libubus: do not use uloop_run() inside ubus_complete_request

Avoid unrelated uloop callbacks by using poll() on the ubus fd instead.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-internal.h
libubus-io.c
libubus-req.c