projects
/
project
/
rpcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
file: handle return output of b64_decode
[project/rpcd.git]
/
file.c
diff --git
a/file.c
b/file.c
index
91a55a1
..
b17692a
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-271,7
+271,7
@@
rpc_file_write(struct ubus_context *ctx, struct ubus_object *obj,
mode_t prev_mode, mode = 0666;
int fd, rv = 0;
void *data = NULL;
- size_t data_len = 0;
+ s
s
ize_t data_len = 0;
blobmsg_parse(rpc_file_rw_policy, __RPC_F_RW_MAX, tb,
blob_data(msg), blob_len(msg));