summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 550218444..2681ccb6b 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1041,7 +1041,7 @@ ssh_control_listener(void)
1041 fatal("%s socket(): %s", __func__, strerror(errno)); 1041 fatal("%s socket(): %s", __func__, strerror(errno));
1042 1042
1043 old_umask = umask(0177); 1043 old_umask = umask(0177);
1044 if (bind(control_fd, (struct sockaddr*)&addr, addr_len) == -1) { 1044 if (bind(control_fd, (struct sockaddr *)&addr, addr_len) == -1) {
1045 control_fd = -1; 1045 control_fd = -1;
1046 if (errno == EINVAL || errno == EADDRINUSE) 1046 if (errno == EINVAL || errno == EADDRINUSE)
1047 fatal("ControlSocket %s already exists", 1047 fatal("ControlSocket %s already exists",
@@ -1299,7 +1299,7 @@ control_client(const char *path)
1299 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0) 1299 if ((sock = socket(PF_UNIX, SOCK_STREAM, 0)) < 0)
1300 fatal("%s socket(): %s", __func__, strerror(errno)); 1300 fatal("%s socket(): %s", __func__, strerror(errno));
1301 1301
1302 if (connect(sock, (struct sockaddr*)&addr, addr_len) == -1) { 1302 if (connect(sock, (struct sockaddr *)&addr, addr_len) == -1) {
1303 if (mux_command != SSHMUX_COMMAND_OPEN) { 1303 if (mux_command != SSHMUX_COMMAND_OPEN) {
1304 fatal("Control socket connect(%.100s): %s", path, 1304 fatal("Control socket connect(%.100s): %s", path,
1305 strerror(errno)); 1305 strerror(errno));