summaryrefslogtreecommitdiff
path: root/ubusd_event.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-04-20 11:08:26 +0200
committerJohn Crispin <blogic@openwrt.org>2015-06-18 19:01:17 +0200
commitba607d976b77c40162637d354fd8e1560384a66d (patch)
tree310a3cbef858c85fa44b9d58d3d90e3496499c8f /ubusd_event.c
parentdf0292c3af36441dce81b30ac4cd847326e27196 (diff)
downloadubus-ba607d976b77c40162637d354fd8e1560384a66d.tar.gz
pass ubus_msg_buf to callback of internal object
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'ubusd_event.c')
-rw-r--r--ubusd_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubusd_event.c b/ubusd_event.c
index 6d4ddcf..6d0ae30 100644
--- a/ubusd_event.c
+++ b/ubusd_event.c
@@ -228,7 +228,7 @@ static int ubusd_forward_event(struct ubus_client *cl, struct blob_attr *msg)
return ubusd_send_event(cl, id, ubusd_create_event_from_msg, data);
}
-static int ubusd_event_recv(struct ubus_client *cl, const char *method, struct blob_attr *msg)
+static int ubusd_event_recv(struct ubus_client *cl, struct ubus_msg_buf *ub, const char *method, struct blob_attr *msg)
{
if (!strcmp(method, "register"))
return ubusd_alloc_event_pattern(cl, msg);