projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libubus: pull the variable length data array out of struct ubus_msghdr to fix builds...
[project/ubus.git]
/
libubus-obj.c
diff --git
a/libubus-obj.c
b/libubus-obj.c
index
bdb2e03
..
212c13c
100644
(file)
--- a/
libubus-obj.c
+++ b/
libubus-obj.c
@@
-97,7
+97,7
@@
void __hidden ubus_process_obj_msg(struct ubus_context *ctx, struct ubus_msghdr
struct ubus_object *obj;
uint32_t objid;
- attrbuf = ubus_parse_msg(
hdr->data
);
+ attrbuf = ubus_parse_msg(
ubus_msghdr_data(hdr)
);
if (!attrbuf[UBUS_ATTR_OBJID])
return;