X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=ubusd_obj.c;h=a702fa6a4df345adbd025e7bb6d7e3cba6daf358;hp=5e08fab241f74daf5af626bafb75db9588618e25;hb=36b1a80b075203c650a6612f1ef45674210fb7a6;hpb=dbd4c2f121be08e514828f2533687b145a6e16dd diff --git a/ubusd_obj.c b/ubusd_obj.c index 5e08fab..a702fa6 100644 --- a/ubusd_obj.c +++ b/ubusd_obj.c @@ -109,6 +109,7 @@ struct ubus_object *ubusd_create_object(struct ubus_client *cl, struct blob_attr } obj->type = type; + obj->client = cl; list_add(&obj->list, &cl->objects); return obj;