summaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/match.c b/match.c
index 913b6bae0..fd784ff14 100644
--- a/match.c
+++ b/match.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: match.c,v 1.30 2015/05/04 06:10:48 djm Exp $ */ 1/* $OpenBSD: match.c,v 1.31 2016/08/23 03:22:49 djm 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
@@ -158,7 +158,8 @@ match_pattern_list(const char *string, const char *pattern, int dolower)
158 return -1; /* Negative */ 158 return -1; /* Negative */
159 else 159 else
160 got_positive = 1; /* Positive */ 160 got_positive = 1; /* Positive */
161 } 161 } else if (negated)
162 got_positive = 1;
162 } 163 }
163 164
164 /* 165 /*