Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c5c24
)
Tweaked a compound line.
author
Wayne Davison
<wayned@samba.org>
Fri, 23 Jul 2004 16:59:38 +0000
(16:59 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 23 Jul 2004 16:59:38 +0000
(16:59 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
728bcb7
..
33fcf2a
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-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 */