--- rxvt-unicode/src/rxvtd.C 2006/01/11 00:59:58 1.23 +++ rxvt-unicode/src/rxvtd.C 2006/01/17 15:17:39 1.24 @@ -73,7 +73,7 @@ unix_listener::unix_listener (const char *sockname) : accept_ev (this, &unix_listener::accept_cb) { - if ((fd = socket (PF_UNIX, SOCK_STREAM, 0)) < 0) + if ((fd = socket (AF_UNIX, SOCK_STREAM, 0)) < 0) { perror ("unable to create listening socket"); exit (EXIT_FAILURE); @@ -120,13 +120,9 @@ int server::getfd (int remote_fd) { -#if ENABLE_FRILLS && HAVE_UNIX_FDPASS send ("GETFD"); send (remote_fd); return rxvt_recv_fd (fd); -#else - return -1; -#endif } void server::log_msg (const char *msg)