Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for systems with a broken select use u_sleep() to ensure the write
[rsync/rsync.git]
/
uidlist.c
diff --git
a/uidlist.c
b/uidlist.c
index
b7d84ce
..
962bb8c
100644
(file)
--- a/
uidlist.c
+++ b/
uidlist.c
@@
-300,11
+300,11
@@
void recv_uid_list(int f, struct file_list *flist)
/* now convert the uid/gid of all files in the list to the mapped
uid/gid */
for (i=0;i<flist->count;i++) {
/* now convert the uid/gid of all files in the list to the mapped
uid/gid */
for (i=0;i<flist->count;i++) {
- if (preserve_uid && flist->files[i]
.
uid != 0) {
- flist->files[i]
.uid = match_uid(flist->files[i].
uid);
+ if (preserve_uid && flist->files[i]
->
uid != 0) {
+ flist->files[i]
->uid = match_uid(flist->files[i]->
uid);
}
}
- if (preserve_gid && flist->files[i]
.
gid != 0) {
- flist->files[i]
.gid = match_gid(flist->files[i].
gid);
+ if (preserve_gid && flist->files[i]
->
gid != 0) {
+ flist->files[i]
->gid = match_gid(flist->files[i]->
gid);
}
}
}
}
}
}