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 728bcb77cbc6328ba12ad50a01a9207ad9100639..33fcf2abee96b04336e3ef79e6f6dafe64afe3fe 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 */