X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/fe96018750bb6bbb16a0001a1056b2557be30f58..d4021b6d9b9a644a539746c98fe24f61d95e8ea5:/generator.c diff --git a/generator.c b/generator.c index 93a707a8..5bad8a55 100644 --- a/generator.c +++ b/generator.c @@ -841,7 +841,7 @@ notify_others: #endif } *lb = len; - write_buf(f_out_name, lenbuf, lb - lenbuf + 1); + write_buf(f_out_name, (char*)lenbuf, lb - lenbuf + 1); write_buf(f_out_name, fuzzy_file->basename, len); } } @@ -885,10 +885,10 @@ void generate_files(int f_out, struct file_list *flist, char *local_name, } if (verbose >= 2) { - rprintf(FINFO, + rprintf(FINFO, "delta-transmission %s\n", whole_file > 0 - ? "delta-transmission disabled for local transfer or --whole-file\n" - : "delta transmission enabled\n"); + ? "disabled for local transfer or --whole-file" + : "enabled"); } /* We expect to just sit around now, so don't exit on a timeout.