summaryrefslogtreecommitdiff
path: root/groupaccess.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-02-22 15:21:21 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-02-22 15:21:21 +1100
commitbed1d43698807a07bb4ddb93a46b0bd84b9970b3 (patch)
treec405570a7bb8b51967d9095f96a2ea2458f7f825 /groupaccess.c
parentf02afa350afac1b2f2d1413259a27a4ba1e2ca24 (diff)
Revert unintended parts of previous commit.
Diffstat (limited to 'groupaccess.c')
-rw-r--r--groupaccess.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/groupaccess.c b/groupaccess.c
index 43367990d..9e4d25521 100644
--- a/groupaccess.c
+++ b/groupaccess.c
@@ -103,11 +103,7 @@ ga_match_pattern_list(const char *group_pattern)
103 int i, found = 0; 103 int i, found = 0;
104 104
105 for (i = 0; i < ngroups; i++) { 105 for (i = 0; i < ngroups; i++) {
106#ifndef HAVE_CYGWIN
107 switch (match_pattern_list(groups_byname[i], group_pattern, 0)) { 106 switch (match_pattern_list(groups_byname[i], group_pattern, 0)) {
108#else
109 switch (match_pattern_list(groups_byname[i], group_pattern, 1)) {
110#endif
111 case -1: 107 case -1:
112 return 0; /* Negated match wins */ 108 return 0; /* Negated match wins */
113 case 0: 109 case 0: