From 2d660c519d2fcff95248da9f4fd9b37d61f9eb09 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 22 Jan 2015 13:30:20 +0100 Subject: [PATCH] libubus: fix processing queued messages after blocking requests Signed-off-by: Felix Fietkau --- libubus-req.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libubus-req.c b/libubus-req.c index d44db51..2197f2a 100644 --- a/libubus-req.c +++ b/libubus-req.c @@ -175,7 +175,7 @@ int ubus_complete_request(struct ubus_context *ctx, struct ubus_request *req, if (!registered) { uloop_fd_delete(&ctx->sock); - if (ctx->stack_depth) + if (!ctx->stack_depth) ctx->pending_timer.cb(&ctx->pending_timer); } -- 2.11.0