diff options
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: match.c,v 1.40 2019/10/04 04:13:39 djm Exp $ */ | 1 | /* $OpenBSD: match.c,v 1.41 2019/11/13 04:47:52 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -42,6 +42,7 @@ | |||
42 | #include <ctype.h> | 42 | #include <ctype.h> |
43 | #include <stdlib.h> | 43 | #include <stdlib.h> |
44 | #include <string.h> | 44 | #include <string.h> |
45 | #include <stdarg.h> | ||
45 | #include <stdio.h> | 46 | #include <stdio.h> |
46 | 47 | ||
47 | #include "xmalloc.h" | 48 | #include "xmalloc.h" |
@@ -178,7 +179,7 @@ match_usergroup_pattern_list(const char *string, const char *pattern) | |||
178 | /* Windows usernames may be Unicode and are not case sensitive */ | 179 | /* Windows usernames may be Unicode and are not case sensitive */ |
179 | return cygwin_ug_match_pattern_list(string, pattern); | 180 | return cygwin_ug_match_pattern_list(string, pattern); |
180 | #else | 181 | #else |
181 | /* Case insensitive match */ | 182 | /* Case sensitive match */ |
182 | return match_pattern_list(string, pattern, 0); | 183 | return match_pattern_list(string, pattern, 0); |
183 | #endif | 184 | #endif |
184 | } | 185 | } |