pass ubus_msg_buf to callback of internal object
[project/ubus.git] / ubusd_event.c
index 6d4ddcf9fdff14a6c90f59665354cb3c0bcdfd6e..6d0ae3014d7e5ef69254d94ff6579e8a98fca308 100644 (file)
@@ -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);