summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-10-04 04:13:39 +0000
committerDamien Miller <djm@mindrot.org>2019-10-04 14:34:05 +1000
commitb7fbc75e119170f4d15c94a7fda4a1050e0871d6 (patch)
tree5a58bfb8b0551da380f3722d1357c8ad655def32
parent643ab68c79ac1644f4a31e36928c2bfc8a51db3c (diff)
upstream: space
-rw-r--r--match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/match.c b/match.c
index fcf69596..25c866a4 100644
--- a/match.c
+++ b/match.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: match.c,v 1.39 2019/03/06 22:14:23 dtucker Exp $ */
+/* $OpenBSD: match.c,v 1.40 2019/10/04 04:13:39 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -246,7 +246,7 @@ match_user(const char *user, const char *host, const char *ipaddr,
return 0;
}
- if ((p = strchr(pattern,'@')) == NULL)
+ if ((p = strchr(pattern, '@')) == NULL)
return match_pattern(user, pattern);
pat = xstrdup(pattern);