diff options
| author | J.W. Schultz <jw@samba.org> | 2004-01-03 13:17:32 +0000 |
|---|---|---|
| committer | J.W. Schultz <jw@samba.org> | 2004-01-03 13:17:32 +0000 |
| commit | a60e2dca6b475e41882d9070c90079dfedf6b5bc (patch) | |
| tree | feb1da38ca3a44700a8635f49357140b474b3b08 /uidlist.c | |
| parent | 86c4601e129054aa1c3f7b9192e98a955c94679e (diff) | |
| download | android_external_rsync-a60e2dca6b475e41882d9070c90079dfedf6b5bc.tar.gz android_external_rsync-a60e2dca6b475e41882d9070c90079dfedf6b5bc.tar.bz2 android_external_rsync-a60e2dca6b475e41882d9070c90079dfedf6b5bc.zip | |
Create GID_NONE for use gid test readability.
Diffstat (limited to 'uidlist.c')
| -rw-r--r-- | uidlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -160,7 +160,7 @@ static gid_t match_gid(gid_t gid) if (am_root) last_out = gid; else - last_out = (gid_t)-1; + last_out = GID_NONE; return last_out; } @@ -307,7 +307,7 @@ void recv_uid_list(int f, struct file_list *flist) } list->id2 = map_gid(id, name); if (!am_root && !is_in_group(list->id2)) - list->id2 = (gid_t)-1; + list->id2 = GID_NONE; free(name); } } |
