From: Felix Fietkau Date: Sun, 27 Mar 2011 00:39:14 +0000 (+0100) Subject: do not reverse method sorting order X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df1af726e211eaaea870f7d2cbc326e5974b9b09;p=oweals%2Fubus.git do not reverse method sorting order --- 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);