summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
committerDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
commit4af51306d9a51459a5bef922df1037f876ae51fe (patch)
tree09ecfc215fce82345a3259f8a0f384b9a67906f0 /match.c
parent5d1705ecf9bd3216dc99a84242bcdf2e7297d307 (diff)
- OpenBSD CVS updates.
[ssh.1 ssh.c] - ssh -2 [auth.c channels.c clientloop.c packet.c packet.h serverloop.c] [session.c sshconnect.c] - check payload for (illegal) extra data [ALL] - whitespace cleanup
Diffstat (limited to 'match.c')
-rw-r--r--match.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/match.c b/match.c
index b72efca7e..ef9498599 100644
--- a/match.c
+++ b/match.c
@@ -1,20 +1,20 @@
1/* 1/*
2 * 2 *
3 * match.c 3 * match.c
4 * 4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * 6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved 8 * All rights reserved
9 * 9 *
10 * Created: Thu Jun 22 01:17:50 1995 ylo 10 * Created: Thu Jun 22 01:17:50 1995 ylo
11 * 11 *
12 * Simple pattern matching, with '*' and '?' as wildcards. 12 * Simple pattern matching, with '*' and '?' as wildcards.
13 * 13 *
14 */ 14 */
15 15
16#include "includes.h" 16#include "includes.h"
17RCSID("$Id: match.c,v 1.4 2000/03/26 03:04:53 damien Exp $"); 17RCSID("$Id: match.c,v 1.5 2000/04/16 01:18:43 damien Exp $");
18 18
19#include "ssh.h" 19#include "ssh.h"
20 20
@@ -23,7 +23,7 @@ RCSID("$Id: match.c,v 1.4 2000/03/26 03:04:53 damien Exp $");
23 * and * as wildcards), and zero if it does not match. 23 * and * as wildcards), and zero if it does not match.
24 */ 24 */
25 25
26int 26int
27match_pattern(const char *s, const char *pattern) 27match_pattern(const char *s, const char *pattern)
28{ 28{
29 for (;;) { 29 for (;;) {