Change the receive log message from "send" to "recv". Fix from
[rsync/rsync.git] / log.c
diff --git a/log.c b/log.c
index 86da03a..3643df7 100644 (file)
--- a/log.c
+++ b/log.c
@@ -289,9 +289,9 @@ void log_recv(struct file_struct *file, struct stats *initial_stats)
        extern char *log_format;
 
        if (lp_transfer_logging(module_id)) {
-               log_formatted(FLOG, lp_log_format(module_id), "send", file, initial_stats);
+               log_formatted(FLOG, lp_log_format(module_id), "recv", file, initial_stats);
        } else if (log_format && !am_server) {
-               log_formatted(FINFO, log_format, "send", file, initial_stats);
+               log_formatted(FINFO, log_format, "recv", file, initial_stats);
        }
 }