projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make casts from void * explicit to avoid C++ warnings (patch by Arthur Davis)
[project/libubox.git]
/
blobmsg.c
diff --git
a/blobmsg.c
b/blobmsg.c
index
0551b26
..
8a40bf8
100644
(file)
--- a/
blobmsg.c
+++ b/
blobmsg.c
@@
-188,6
+188,8
@@
blobmsg_add_string_buffer(struct blob_buf *buf)
attrlen = blob_raw_len(attr) + len;
blob_set_raw_len(attr, attrlen);
+ blob_fill_pad(attr);
+
blob_set_raw_len(buf->head, blob_raw_len(buf->head) + blob_pad_len(attr));
}