diff options
| author | Wayne Davison <wayned@samba.org> | 2004-02-05 01:32:38 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2004-02-05 01:32:38 +0000 |
| commit | 01363a24e20dc0aefc381681f6aeab51cbf8f2a5 (patch) | |
| tree | 6214b7e10e786a6610177f9d2430f421e0b39a3c /uidlist.c | |
| parent | d49def483253155f969ad04f32752196b00faa96 (diff) | |
| download | android_external_rsync-01363a24e20dc0aefc381681f6aeab51cbf8f2a5.tar.gz android_external_rsync-01363a24e20dc0aefc381681f6aeab51cbf8f2a5.tar.bz2 android_external_rsync-01363a24e20dc0aefc381681f6aeab51cbf8f2a5.zip | |
Fixed a problem handling GID_NONE in match_gid().
Diffstat (limited to 'uidlist.c')
| -rw-r--r-- | uidlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -215,8 +215,8 @@ static gid_t match_gid(gid_t gid) static gid_t last_in = GID_NONE, last_out = GID_NONE; struct idlist *list; - if (gid == 0) - return 0; + if (gid == GID_NONE) + return GID_NONE; if (gid == last_in) return last_out; |
