Fixed a length problem parsing an arg of "./".
[rsync/rsync.git] / log.c
diff --git a/log.c b/log.c
index fc4b583..e06cc7d 100644 (file)
--- a/log.c
+++ b/log.c
@@ -86,6 +86,7 @@ struct {
        { RERR_PARTIAL    , "some files could not be transferred" },
        { RERR_VANISHED   , "some files vanished before they could be transferred" },
        { RERR_TIMEOUT    , "timeout in data send/receive" },
+       { RERR_CONTIMEOUT , "timeout waiting for daemon connection" },
        { RERR_CMD_FAILED , "remote shell failed" },
        { RERR_CMD_KILLED , "remote shell killed" },
        { RERR_CMD_RUN    , "remote command could not be run" },
@@ -306,7 +307,7 @@ void rwrite(enum logcode code, const char *buf, int len, int is_utf8)
        switch (code) {
        case FERROR_XFER:
                got_xfer_error = 1;
-               /* CONTINUE */
+               /* FALL THROUGH */
        case FERROR:
        case FWARNING:
                f = stderr;