diff options
author | John Crispin <blogic@openwrt.org> | 2015-04-20 11:08:26 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-06-18 19:01:17 +0200 |
commit | ba607d976b77c40162637d354fd8e1560384a66d (patch) | |
tree | 310a3cbef858c85fa44b9d58d3d90e3496499c8f /ubusd_event.c | |
parent | df0292c3af36441dce81b30ac4cd847326e27196 (diff) | |
download | ubus-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.c | 2 |
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); |