diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-10-04 04:13:39 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-10-04 14:34:05 +1000 |
commit | b7fbc75e119170f4d15c94a7fda4a1050e0871d6 (patch) | |
tree | 5a58bfb8b0551da380f3722d1357c8ad655def32 /match.c | |
parent | 643ab68c79ac1644f4a31e36928c2bfc8a51db3c (diff) |
upstream: space
OpenBSD-Commit-ID: 350648bcf00a2454e7ef998b7d88e42552b348ac
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: match.c,v 1.39 2019/03/06 22:14:23 dtucker Exp $ */ | 1 | /* $OpenBSD: match.c,v 1.40 2019/10/04 04:13:39 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 |
@@ -246,7 +246,7 @@ match_user(const char *user, const char *host, const char *ipaddr, | |||
246 | return 0; | 246 | return 0; |
247 | } | 247 | } |
248 | 248 | ||
249 | if ((p = strchr(pattern,'@')) == NULL) | 249 | if ((p = strchr(pattern, '@')) == NULL) |
250 | return match_pattern(user, pattern); | 250 | return match_pattern(user, pattern); |
251 | 251 | ||
252 | pat = xstrdup(pattern); | 252 | pat = xstrdup(pattern); |