summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:07:26 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:07:26 +1100
commit9096740f6c39bbd91f2484c8cf58b4996dd8564f (patch)
tree5205c22ccf2d6bd2765ff7662c7efe24620ca754 /session.c
parent91d4b12fcb045d93034b2609aaf56a4b41e6eb4f (diff)
- deraadt@cvs.openbsd.org 2006/03/20 18:26:55
[channels.c monitor.c session.c session.h ssh-agent.c ssh-keygen.c] [ssh-rsa.c ssh.c sshlogin.c] annoying spacing fixes getting in the way of real diffs
Diffstat (limited to 'session.c')
-rw-r--r--session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.c b/session.c
index b71a2c71a..b00caa547 100644
--- a/session.c
+++ b/session.c
@@ -186,7 +186,7 @@ auth_input_request_forwarding(struct passwd * pw)
186 sunaddr.sun_family = AF_UNIX; 186 sunaddr.sun_family = AF_UNIX;
187 strlcpy(sunaddr.sun_path, auth_sock_name, sizeof(sunaddr.sun_path)); 187 strlcpy(sunaddr.sun_path, auth_sock_name, sizeof(sunaddr.sun_path));
188 188
189 if (bind(sock, (struct sockaddr *) & sunaddr, sizeof(sunaddr)) < 0) 189 if (bind(sock, (struct sockaddr *)&sunaddr, sizeof(sunaddr)) < 0)
190 packet_disconnect("bind: %.100s", strerror(errno)); 190 packet_disconnect("bind: %.100s", strerror(errno));
191 191
192 /* Restore the privileged uid. */ 192 /* Restore the privileged uid. */
@@ -643,7 +643,7 @@ do_pre_login(Session *s)
643 fromlen = sizeof(from); 643 fromlen = sizeof(from);
644 if (packet_connection_is_on_socket()) { 644 if (packet_connection_is_on_socket()) {
645 if (getpeername(packet_get_connection_in(), 645 if (getpeername(packet_get_connection_in(),
646 (struct sockaddr *) & from, &fromlen) < 0) { 646 (struct sockaddr *)&from, &fromlen) < 0) {
647 debug("getpeername: %.100s", strerror(errno)); 647 debug("getpeername: %.100s", strerror(errno));
648 cleanup_exit(255); 648 cleanup_exit(255);
649 } 649 }