From: Wayne Davison Date: Thu, 5 Feb 2004 01:32:38 +0000 (+0000) Subject: Fixed a problem handling GID_NONE in match_gid(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/01363a24e20dc0aefc381681f6aeab51cbf8f2a5 Fixed a problem handling GID_NONE in match_gid(). --- diff --git a/uidlist.c b/uidlist.c index 4daa5666..246e6fa5 100644 --- a/uidlist.c +++ b/uidlist.c @@ -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;