diff options
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: match.c,v 1.9 2000/09/07 20:27:52 deraadt Exp $"); | 15 | RCSID("$OpenBSD: match.c,v 1.10 2000/12/19 23:17:57 markus Exp $"); |
16 | 16 | ||
17 | #include "ssh.h" | 17 | #include "ssh.h" |
18 | 18 | ||
@@ -87,12 +87,12 @@ match_pattern(const char *s, const char *pattern) | |||
87 | */ | 87 | */ |
88 | 88 | ||
89 | int | 89 | int |
90 | match_hostname(const char *host, const char *pattern, unsigned int len) | 90 | match_hostname(const char *host, const char *pattern, u_int len) |
91 | { | 91 | { |
92 | char sub[1024]; | 92 | char sub[1024]; |
93 | int negated; | 93 | int negated; |
94 | int got_positive; | 94 | int got_positive; |
95 | unsigned int i, subi; | 95 | u_int i, subi; |
96 | 96 | ||
97 | got_positive = 0; | 97 | got_positive = 0; |
98 | for (i = 0; i < len;) { | 98 | for (i = 0; i < len;) { |