From: Wayne Davison Date: Tue, 28 Mar 2006 06:12:18 +0000 (+0000) Subject: Output the who_am_i() info in the "unknown message" error. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f8b9da1a2c4c2a70b73dc408e2e7c6393c400df4 Output the who_am_i() info in the "unknown message" error. --- diff --git a/io.c b/io.c index 9ddf1253..09aab912 100644 --- a/io.c +++ b/io.c @@ -333,7 +333,8 @@ static void read_msg_fd(void) } 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); }