X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3019f95f37b5749a1e4f50d2d70f03b05726fbed..85ed0aa396cef83125e27f69e6d40a5917aa00e1:/generator.c?ds=sidebyside diff --git a/generator.c b/generator.c index f3849a07..b5000e26 100644 --- a/generator.c +++ b/generator.c @@ -241,7 +241,7 @@ void recv_generator(char *fname, struct file_list *flist, int i, int f_out) !preserve_perms && (S_ISDIR(st.st_mode) == S_ISDIR(file->mode))) { /* if the file exists already and we aren't perserving - presmissions then act as though the remote end sent + permissions then act as though the remote end sent us the file permissions we already have */ file->mode = (file->mode & _S_IFMT) | (st.st_mode & ~_S_IFMT); }