make libubus a dynamic library
[project/ubus.git] / ubusd_obj.c
index 5e08fab..a702fa6 100644 (file)
@@ -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;