Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention a missing sender-side hash improvment that went out in 3.0.0.
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
d884846
..
6068575
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-511,7
+511,7
@@
static void mplex_write(int fd, enum msgcode code, const char *buf, size_t len,
xbuf outbuf, inbuf;
INIT_XBUF(outbuf, buffer + 4, 0, sizeof buffer - 4);
xbuf outbuf, inbuf;
INIT_XBUF(outbuf, buffer + 4, 0, sizeof buffer - 4);
- INIT_XBUF(inbuf, (char*)buf, len, -1);
+ INIT_XBUF(inbuf, (char*)buf, len,
(size_t)
-1);
iconvbufs(ic_send, &inbuf, &outbuf,
ICB_INCLUDE_BAD | ICB_INCLUDE_INCOMPLETE);
iconvbufs(ic_send, &inbuf, &outbuf,
ICB_INCLUDE_BAD | ICB_INCLUDE_INCOMPLETE);
@@
-1093,7
+1093,7
@@
static int readfd_unbuffered(int fd, char *buf, size_t len)
int add_null = 0;
INIT_CONST_XBUF(outbuf, line);
int add_null = 0;
INIT_CONST_XBUF(outbuf, line);
- INIT_XBUF(inbuf, ibuf, 0, -1);
+ INIT_XBUF(inbuf, ibuf, 0,
(size_t)
-1);
while (msg_bytes) {
inbuf.len = msg_bytes > sizeof ibuf
while (msg_bytes) {
inbuf.len = msg_bytes > sizeof ibuf