if (ictx->cb != NULL)
ictx->cb(req, type, msg);
+
+ ictx->cb = NULL;
}
static void
struct invoke_context *ictx =
container_of(req, struct invoke_context, request);
+ if (ictx->cb != NULL)
+ ictx->cb(req, -1, NULL);
+
uloop_timeout_cancel(&ictx->timeout);
free(ictx);
}