From 85ed0aa396cef83125e27f69e6d40a5917aa00e1 Mon Sep 17 00:00:00 2001 From: "J.W. Schultz" Date: Fri, 21 Mar 2003 07:27:31 +0000 Subject: [PATCH] Typo corrections. Thanks to Paul Slootman --- generator.c | 2 +- receiver.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); } diff --git a/receiver.c b/receiver.c index ae270cf7..3eea7836 100644 --- a/receiver.c +++ b/receiver.c @@ -396,8 +396,8 @@ int recv_files(int f_in,struct file_list *flist,char *local_name,int f_gen) } if (fd1 != -1 && !preserve_perms) { - /* if the file exists already and we aren't perserving - presmissions then act as though the remote end sent + /* if the file exists already and we aren't preserving + permissions then act as though the remote end sent us the file permissions we already have */ file->mode = st.st_mode; } -- 2.34.1