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 f3849a0778282bc34a13f8d5cc098f3c040b1f0a..b5000e26aa5112478dc4ad65629e18eca65e5e34 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 ae270cf7d5b4be199216faa554d72c5d824a8698..3eea783695ae73f8a72bff21c23d0c1a78ad538c 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;
                }