--- rxvt-unicode/src/rxvtc.C 2006/08/18 23:03:31 1.27 +++ rxvt-unicode/src/rxvtc.C 2007/10/31 09:55:24 1.28 @@ -47,13 +47,13 @@ { sockaddr_un sa; char *sockname = rxvt_connection::unix_sockname (); - + if (strlen(sockname) >= sizeof(sa.sun_path)) { fputs ("socket name too long, aborting.\n", stderr); exit (STATUS_FAILURE); } - + if ((fd = socket (AF_UNIX, SOCK_STREAM, 0)) < 0) { perror ("unable to create communications socket");