X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-xreq.c;h=2e6108d84d862eb2dc401d117106656ba46e6d35;hb=7682c2aacb3efd6abed3dee43f8a03d7646d8153;hp=5f6c745308902244c597c9262f52fb2c1f51530e;hpb=7f4444176bd6efaa5e189a148351bab5a72c2853;p=src%2Fapp-framework-binder.git diff --git a/src/afb-xreq.c b/src/afb-xreq.c index 5f6c7453..2e6108d8 100644 --- a/src/afb-xreq.c +++ b/src/afb-xreq.c @@ -463,7 +463,7 @@ static int xreq_subscribe_eventid_cb(struct afb_request *closure, struct afb_eve int afb_xreq_subscribe(struct afb_xreq *xreq, struct afb_eventid *eventid) { if (xreq->listener) - return afb_evt_add_watch(xreq->listener, eventid); + return afb_evt_eventid_add_watch(xreq->listener, eventid); if (xreq->queryitf->subscribe) return xreq->queryitf->subscribe(xreq, eventid); ERROR("no event listener, subscription impossible"); @@ -486,7 +486,7 @@ static int xreq_unsubscribe_eventid_cb(struct afb_request *closure, struct afb_e int afb_xreq_unsubscribe(struct afb_xreq *xreq, struct afb_eventid *eventid) { if (xreq->listener) - return afb_evt_remove_watch(xreq->listener, eventid); + return afb_evt_eventid_remove_watch(xreq->listener, eventid); if (xreq->queryitf->unsubscribe) return xreq->queryitf->unsubscribe(xreq, eventid); ERROR("no event listener, unsubscription impossible");