summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index 6cb88ad44..d16493001 100644
--- a/channels.c
+++ b/channels.c
@@ -2877,7 +2877,7 @@ connect_local_xsocket(u_int dnr)
2877 memset(&addr, 0, sizeof(addr)); 2877 memset(&addr, 0, sizeof(addr));
2878 addr.sun_family = AF_UNIX; 2878 addr.sun_family = AF_UNIX;
2879 snprintf(addr.sun_path, sizeof addr.sun_path, _PATH_UNIX_X, dnr); 2879 snprintf(addr.sun_path, sizeof addr.sun_path, _PATH_UNIX_X, dnr);
2880 if (connect(sock, (struct sockaddr *) & addr, sizeof(addr)) == 0) 2880 if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) == 0)
2881 return sock; 2881 return sock;
2882 close(sock); 2882 close(sock);
2883 error("connect %.100s: %.100s", addr.sun_path, strerror(errno)); 2883 error("connect %.100s: %.100s", addr.sun_path, strerror(errno));