Remove duplication for -x option.
[rsync/rsync.git] / log.c
diff --git a/log.c b/log.c
index 60948e2..0f6f90c 100644 (file)
--- a/log.c
+++ b/log.c
@@ -346,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);
        }
 
@@ -853,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;