*** empty log message ***
authorayin <ayin>
Mon, 25 Jun 2007 23:27:18 +0000 (23:27 +0000)
committerayin <ayin>
Mon, 25 Jun 2007 23:27:18 +0000 (23:27 +0000)
src/rxvttoolkit.C

index aa6728b1ce3588a473e9db6a2f10749aed04d9a0..85cec67b9e06a52a93259bb60edd0f5c5d70c767 100644 (file)
@@ -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);