X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f9185203ee03152001530db5624a2b8c93e1ea94..164faae84f0abf1c9df2f28a09ae8579c86acfa3:/log.c diff --git a/log.c b/log.c index 5b4773fb..6f68f569 100644 --- a/log.c +++ b/log.c @@ -100,7 +100,6 @@ struct { { RERR_DEL_LIMIT , "the --max-delete limit stopped deletions" }, { RERR_TIMEOUT , "timeout in data send/receive" }, { RERR_CONTIMEOUT , "timeout waiting for daemon connection" }, - { RERR_RCVR_ERROR , "exiting due to receiver error" }, { RERR_CMD_FAILED , "remote shell failed" }, { RERR_CMD_KILLED , "remote shell killed" }, { RERR_CMD_RUN , "remote command could not be run" }, @@ -347,7 +346,7 @@ output_msg: case FCLIENT: break; default: - fprintf(stderr, "Unknown logcode in rwrite(): %d\n", (int)code); + fprintf(stderr, "Unknown logcode in rwrite(): %d [%s]\n", (int)code, who_am_i()); exit_cleanup(RERR_MESSAGEIO); } @@ -804,7 +803,7 @@ int log_format_has(const char *format, char esc) return 0; for (p = format; (p = strchr(p, '%')) != NULL; ) { - for (p++; *p == '\''; p++) {} + for (p++; *p == '\''; p++) {} /*SHARED ITERATOR*/ if (*p == '-') p++; while (isDigit(p))