summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/match.c b/match.c
index c373129b8..895ecab37 100644
--- a/match.c
+++ b/match.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: match.c,v 1.9 2000/09/07 20:27:52 deraadt Exp $"); 15RCSID("$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
89int 89int
90match_hostname(const char *host, const char *pattern, unsigned int len) 90match_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;) {