Tweaked a compound line.
authorWayne Davison <wayned@samba.org>
Fri, 23 Jul 2004 16:59:38 +0000 (16:59 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 23 Jul 2004 16:59:38 +0000 (16:59 +0000)
generator.c

index 728bcb7..33fcf2a 100644 (file)
@@ -291,9 +291,8 @@ static void recv_generator(char *fname, struct file_struct *file, int i,
                return;
        }
 
-       if (statret == 0 &&
-           !preserve_perms &&
-           (S_ISDIR(st.st_mode) == S_ISDIR(file->mode))) {
+       if (statret == 0 && !preserve_perms
+           && S_ISDIR(st.st_mode) == S_ISDIR(file->mode)) {
                /* if the file exists already and we aren't perserving
                 * permissions then act as though the remote end sent
                 * us the file permissions we already have */