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
Include the version number when we exit with an error or warning.
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
ea3c81b
..
09aab91
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-333,7
+333,8
@@
static void read_msg_fd(void)
}
break;
default:
}
break;
default:
- rprintf(FERROR, "unknown message %d:%d\n", tag, len);
+ rprintf(FERROR, "unknown message %d:%d [%s]\n",
+ tag, len, who_am_i());
exit_cleanup(RERR_STREAMIO);
}
exit_cleanup(RERR_STREAMIO);
}
@@
-1153,7
+1154,7
@@
static void msg2sndr_flush(void)
if (defer_forwarding_messages)
return;
if (defer_forwarding_messages)
return;
- while (msg2sndr.head) {
+ while (msg2sndr.head
&& io_multiplexing_out
) {
struct msg_list_item *m = msg2sndr.head;
if (!(msg2sndr.head = m->next))
msg2sndr.tail = NULL;
struct msg_list_item *m = msg2sndr.head;
if (!(msg2sndr.head = m->next))
msg2sndr.tail = NULL;