X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd_event.c;h=6d0ae3014d7e5ef69254d94ff6579e8a98fca308;hp=6d4ddcf9fdff14a6c90f59665354cb3c0bcdfd6e;hb=ba607d976b77c40162637d354fd8e1560384a66d;hpb=df0292c3af36441dce81b30ac4cd847326e27196 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);