diff options
author | 2013-04-24 16:01:46 +0000 | |
---|---|---|
committer | 2013-04-24 16:01:46 +0000 | |
commit | 712350e43dc6366eefc4a62473d8722130334ac5 (patch) | |
tree | 43c3a7c6b57e7cfa508a5f5cbfde879f41216018 | |
parent | simplify tilde expand as seen in ssh. ok nicm (diff) | |
download | wireguard-openbsd-712350e43dc6366eefc4a62473d8722130334ac5.tar.xz wireguard-openbsd-712350e43dc6366eefc4a62473d8722130334ac5.zip |
remove extra parens noticed by nicm
-rw-r--r-- | usr.bin/ssh/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c index a441d151e01..02b9aa33453 100644 --- a/usr.bin/ssh/misc.c +++ b/usr.bin/ssh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.87 2013/04/23 17:49:45 tedu Exp $ */ +/* $OpenBSD: misc.c,v 1.88 2013/04/24 16:01:46 tedu Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2005,2006 Damien Miller. All rights reserved. @@ -524,7 +524,7 @@ tilde_expand_filename(const char *filename, uid_t uid) /* Make sure directory has a trailing '/' */ len = strlen(pw->pw_dir); - if ((len == 0 || pw->pw_dir[len - 1] != '/')) + if (len == 0 || pw->pw_dir[len - 1] != '/') sep = "/"; else sep = ""; |