summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-02-22 15:21:21 +1100
committerDarren Tucker <dtucker@dtucker.net>2019-02-22 15:21:21 +1100
commitbed1d43698807a07bb4ddb93a46b0bd84b9970b3 (patch)
treec405570a7bb8b51967d9095f96a2ea2458f7f825 /match.c
parentf02afa350afac1b2f2d1413259a27a4ba1e2ca24 (diff)
Revert unintended parts of previous commit.
Diffstat (limited to 'match.c')
-rw-r--r--match.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/match.c b/match.c
index b50ae4057..bb3e95f67 100644
--- a/match.c
+++ b/match.c
@@ -111,8 +111,6 @@ match_pattern(const char *s, const char *pattern)
111 /* NOTREACHED */ 111 /* NOTREACHED */
112} 112}
113 113
114#ifndef HAVE_CYGWIN /* Cygwin version in openbsd-compat/bsd-cygwin_util.c */
115
116/* 114/*
117 * Tries to match the string against the 115 * Tries to match the string against the
118 * comma-separated sequence of subpatterns (each possibly preceded by ! to 116 * comma-separated sequence of subpatterns (each possibly preceded by ! to
@@ -172,8 +170,6 @@ match_pattern_list(const char *string, const char *pattern, int dolower)
172 return got_positive; 170 return got_positive;
173} 171}
174 172
175#endif
176
177/* 173/*
178 * Tries to match the host name (which must be in all lowercase) against the 174 * Tries to match the host name (which must be in all lowercase) against the
179 * comma-separated sequence of subpatterns (each possibly preceded by ! to 175 * comma-separated sequence of subpatterns (each possibly preceded by ! to