Skip to content

Commit 391039e

Browse files
authored
Merge pull request #114 from Humm42/case-insensitive-auth_type
recognize AUTH_TYPE case-insensitively
2 parents 0726758 + b38bb1b commit 391039e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

child.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ kworker_child_auth(struct env *env, int fd, size_t envsz)
11641164
for (auth = 0; auth < KAUTH_UNKNOWN; auth++) {
11651165
if (kauths[auth] == NULL)
11661166
continue;
1167-
if (strcmp(kauths[auth], cp) == 0)
1167+
if (strcasecmp(kauths[auth], cp) == 0)
11681168
break;
11691169
}
11701170

0 commit comments

Comments
 (0)