From df1af726e211eaaea870f7d2cbc326e5974b9b09 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 27 Mar 2011 01:39:14 +0100 Subject: [PATCH] do not reverse method sorting order --- ubusd_obj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubusd_obj.c b/ubusd_obj.c index 2d78796..3dd2d7f 100644 --- a/ubusd_obj.c +++ b/ubusd_obj.c @@ -31,7 +31,7 @@ static bool ubus_create_obj_method(struct ubus_object_type *type, struct blob_at if (!m) return false; - list_add(&m->list, &type->methods); + list_add_tail(&m->list, &type->methods); memcpy(m->data, attr, bloblen); m->name = blobmsg_name(m->data); -- 2.25.1