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
We also need the "name pipe" from the generator to the receiver
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
62880fb
..
1cfcd72
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-679,8
+679,9
@@
static int readfd_unbuffered(int fd, char *buf, size_t len)
case MSG_INFO:
case MSG_ERROR:
if (remaining >= sizeof line) {
case MSG_INFO:
case MSG_ERROR:
if (remaining >= sizeof line) {
- rprintf(FERROR, "multiplexing overflow %d:%ld\n\n",
- tag, (long)remaining);
+ rprintf(FERROR,
+ "[%s] multiplexing overflow %d:%ld\n\n",
+ who_am_i(), tag, (long)remaining);
exit_cleanup(RERR_STREAMIO);
}
read_loop(fd, line, remaining);
exit_cleanup(RERR_STREAMIO);
}
read_loop(fd, line, remaining);
@@
-688,7
+689,8
@@
static int readfd_unbuffered(int fd, char *buf, size_t len)
remaining = 0;
break;
default:
remaining = 0;
break;
default:
- rprintf(FERROR, "unexpected tag %d\n", tag);
+ rprintf(FERROR, "[%s] unexpected tag %d\n",
+ who_am_i(), tag);
exit_cleanup(RERR_STREAMIO);
}
}
exit_cleanup(RERR_STREAMIO);
}
}