projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a copy & paste bug
[project/ubus.git]
/
ubusd.c
diff --git
a/ubusd.c
b/ubusd.c
index
65b82ca
..
aa72351
100644
(file)
--- a/
ubusd.c
+++ b/
ubusd.c
@@
-242,7
+242,7
@@
retry:
fd_buf.fd = -1;
- iov.iov_base =
&cl->hdrbuf
+ offset;
+ iov.iov_base =
((char *) &cl->hdrbuf)
+ offset;
iov.iov_len = sizeof(cl->hdrbuf) - offset;
if (cl->pending_msg_fd < 0) {