From 5959ccc116d852e9486abd27f42a2b2c0bf1ebe6 Mon Sep 17 00:00:00 2001 From: ayin Date: Mon, 25 Jun 2007 23:27:18 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvttoolkit.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index aa6728b1..85cec67b 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -477,7 +477,7 @@ bool rxvt_display::ref_init () socklen_t sl = sizeof (sa); if (!getsockname (fd, (sockaddr *)&sa, &sl)) - is_local = sa.sun_family == AF_LOCAL; + is_local = sa.sun_family == AF_UNIX; x_ev.start (fd, EVENT_READ); fcntl (fd, F_SETFD, FD_CLOEXEC); -- 2.34.1