[openssh-commits] [openssh] 01/01: Remove no-op brackets to resync with upstream.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Sep 12 14:46:34 AEST 2016


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 8f750ccfc07acb8aa98be5a5dd935033a6468cfd
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Mon Sep 12 14:43:58 2016 +1000

    Remove no-op brackets to resync with upstream.
---
 sshpty.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sshpty.c b/sshpty.c
index 15da8c6..b8457d9 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -155,11 +155,11 @@ pty_make_controlling_tty(int *ttyfd, const char *tty)
 		error("SETPGRP %s",strerror(errno));
 #endif /* NEED_SETPGRP */
 	fd = open(tty, O_RDWR);
-	if (fd < 0) {
+	if (fd < 0)
 		error("%.100s: %.100s", tty, strerror(errno));
-	} else {
+	else
 		close(fd);
-	}
+
 	/* Verify that we now have a controlling tty. */
 	fd = open(_PATH_TTY, O_WRONLY);
 	if (fd < 0)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list