Typo corrections.
authorJ.W. Schultz <jw@samba.org>
Fri, 21 Mar 2003 07:27:31 +0000 (07:27 +0000)
committerJ.W. Schultz <jw@samba.org>
Fri, 21 Mar 2003 07:27:31 +0000 (07:27 +0000)
Thanks to Paul Slootman <paul@debian.org>

generator.c
receiver.c

index f3849a0..b5000e2 100644 (file)
@@ -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);
        }
index ae270cf..3eea783 100644 (file)
@@ -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;
                }