X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2907af472d1f33b3c422cb9f601c121b242aa9c7..6500e0769a56919df1d47759828104a08df850bb:/log.c diff --git a/log.c b/log.c index c08dd580..0f6f90cb 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); } @@ -854,7 +853,7 @@ void log_delete(const char *fname, int mode) static struct { union file_extras ex[4]; /* just in case... */ struct file_struct file; - } x; + } x; /* Zero-initialized due to static declaration. */ int len = strlen(fname); const char *fmt;