summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authordtucker <dtucker>2013-05-16 10:23:52 +0000
committerdtucker <dtucker>2013-05-16 10:23:52 +0000
commitdbdb059be34ef2c090ebc5248d045233e69b9e6e (patch)
treec8ca4a20fd50ac486476a78433c11a223c7e31d1 /misc.c
parentc611b7a5603a24403f281877cfa408df8f8b0b80 (diff)
downloadopenssh-dbdb059be34ef2c090ebc5248d045233e69b9e6e.tar.gz
- tedu@cvs.openbsd.org 2013/04/24 16:01:46
[misc.c] remove extra parens noticed by nicm
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index ee5711d1..77f4a37a 100644
--- a/misc.c
+++ b/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.
@@ -540,7 +540,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 = "";