Mailing List Archive

[openssh] 01/01: Whitespace sync with upstream.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 19edfd4af746bedf0df17f01953ba8c6d3186eb7
Author: Darren Tucker <dtucker@dtucker.net>
Date: Tue Feb 13 08:25:46 2018 +1100

Whitespace sync with upstream.
---
session.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/session.c b/session.c
index a701fa0c..a1ee4105 100644
--- a/session.c
+++ b/session.c
@@ -1251,10 +1251,10 @@ do_nologin(struct passwd *pw)
/* /etc/nologin exists. Print its contents if we can and exit. */
logit("User %.100s not allowed because %s exists", pw->pw_name, nl);
if ((f = fopen(nl, "r")) != NULL) {
- while (fgets(buf, sizeof(buf), f))
- fputs(buf, stderr);
- fclose(f);
- }
+ while (fgets(buf, sizeof(buf), f))
+ fputs(buf, stderr);
+ fclose(f);
+ }
exit(254);
}


--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits
[openssh] 01/01: Whitespace sync with upstream. [ In reply to ]
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 3c51143c639ac686687c7acf9b373b8c08195ffb
Author: Darren Tucker <dtucker@dtucker.net>
Date: Tue Feb 13 09:07:29 2018 +1100

Whitespace sync with upstream.
---
serverloop.c | 1 +
session.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/serverloop.c b/serverloop.c
index feaf35c1..9d789a21 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -551,6 +551,7 @@ server_request_tun(struct ssh *ssh)
if (sock < 0)
goto done;
debug("Tunnel forwarding using interface %s", ifname);
+
c = channel_new(ssh, "tun", SSH_CHANNEL_OPEN, sock, sock, -1,
CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, 0, "tun", 1);
c->datagram = 1;
diff --git a/session.c b/session.c
index a1ee4105..e9301267 100644
--- a/session.c
+++ b/session.c
@@ -335,7 +335,6 @@ int
do_exec_no_pty(struct ssh *ssh, Session *s, const char *command)
{
pid_t pid;
-
#ifdef USE_PIPES
int pin[2], pout[2], perr[2];


--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits