]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: space
authordjm@openbsd.org <djm@openbsd.org>
Fri, 4 Oct 2019 04:13:39 +0000 (04:13 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 4 Oct 2019 04:34:05 +0000 (14:34 +1000)
OpenBSD-Commit-ID: 350648bcf00a2454e7ef998b7d88e42552b348ac

match.c

diff --git a/match.c b/match.c
index fcf69596d56ec88c28c332e819708385217a28e2..25c866a43c8fdf629885f844a8249dfa404da1a8 100644 (file)
--- 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);