--- rxvt-unicode/src/rxvttoolkit.C 2007/06/09 13:04:27 1.66 +++ rxvt-unicode/src/rxvttoolkit.C 2007/06/25 23:27:18 1.67 @@ -477,7 +477,7 @@ 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);