summaryrefslogtreecommitdiffstats
path: root/src/afb-stub-ws.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-12-03 15:16:30 +0100
committerJose Bollo <jose.bollo@iot.bzh>2018-12-05 10:08:10 +0100
commit9295a52e5ea920a969aa0bf7aedd2342fb59c8fe (patch)
tree58b31d30763ecfd6dca31dc7ccaae8b3dec6d3f3 /src/afb-stub-ws.c
parent3f2e3d9ee06073b4bdbfe0f0321574f66397505e (diff)
afb-proto-ws: Add error report
Change-Id: I58c88f8bcaf4cfb8a53b58eeefd7fa3415bf894a Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-stub-ws.c')
-rw-r--r--src/afb-stub-ws.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c
index a41a9b02..5dfacb73 100644
--- a/src/afb-stub-ws.c
+++ b/src/afb-stub-ws.c
@@ -235,6 +235,7 @@ static struct client_event *client_event_search(struct afb_stub_ws *stubws, uint
while (ev != NULL && (ev->id != eventid || 0 != strcmp(afb_evt_event_x2_fullname(ev->event), name)))
ev = ev->next;
+ DEBUG("searching event %s[%d]: %s", name, eventid, ev ? "found" : "not found");
return ev;
}