summaryrefslogtreecommitdiff
path: root/ssh-agent.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 /ssh-agent.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 'ssh-agent.c')
-rw-r--r--ssh-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 17914410c..7feb898dd 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -887,7 +887,7 @@ after_select(fd_set *readset, fd_set *writeset)
887 if (FD_ISSET(sockets[i].fd, readset)) { 887 if (FD_ISSET(sockets[i].fd, readset)) {
888 slen = sizeof(sunaddr); 888 slen = sizeof(sunaddr);
889 sock = accept(sockets[i].fd, 889 sock = accept(sockets[i].fd,
890 (struct sockaddr *) &sunaddr, &slen); 890 (struct sockaddr *)&sunaddr, &slen);
891 if (sock < 0) { 891 if (sock < 0) {
892 error("accept from AUTH_SOCKET: %s", 892 error("accept from AUTH_SOCKET: %s",
893 strerror(errno)); 893 strerror(errno));
@@ -1134,7 +1134,7 @@ main(int ac, char **av)
1134 sunaddr.sun_family = AF_UNIX; 1134 sunaddr.sun_family = AF_UNIX;
1135 strlcpy(sunaddr.sun_path, socket_name, sizeof(sunaddr.sun_path)); 1135 strlcpy(sunaddr.sun_path, socket_name, sizeof(sunaddr.sun_path));
1136 prev_mask = umask(0177); 1136 prev_mask = umask(0177);
1137 if (bind(sock, (struct sockaddr *) & sunaddr, sizeof(sunaddr)) < 0) { 1137 if (bind(sock, (struct sockaddr *) &sunaddr, sizeof(sunaddr)) < 0) {
1138 perror("bind"); 1138 perror("bind");
1139 *socket_name = '\0'; /* Don't unlink any existing file */ 1139 *socket_name = '\0'; /* Don't unlink any existing file */
1140 umask(prev_mask); 1140 umask(prev_mask);