X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubus.git;a=blobdiff_plain;f=libubus.h;h=cb575b0c765687c54eb55965659cec5fcac612bc;hp=9f21647d80feea40690447a5a2381eaaa4fdd57c;hb=b0755698c1b686800c9de9e1c3d02026724d116e;hpb=2429653f908a9934b32c11d69e7adfc0d1a5ca67;ds=sidebyside diff --git a/libubus.h b/libubus.h index 9f21647..cb575b0 100644 --- a/libubus.h +++ b/libubus.h @@ -97,7 +97,7 @@ struct ubus_context { struct { struct ubus_msghdr hdr; - char data[UBUS_MAX_MSGLEN - sizeof(struct ubus_msghdr)]; + char data[UBUS_MAX_MSGLEN]; } msgbuf; };