Homepage unknown -- appears to be developed for Debian. Xtrace fakes an X server and forwards all connections to a real X server, displaying the communication between clients. It prints the requests going from client to server and the replies, events and errors going the other way.
13 lines
491 B
Text
13 lines
491 B
Text
$NetBSD: patch-ad,v 1.1.1.1 2006/06/21 02:31:08 jeremy-c-reed Exp $
|
|
|
|
--- x11server.c.orig 2006-06-20 19:05:01.000000000 -0700
|
|
+++ x11server.c 2006-06-20 19:04:30.000000000 -0700
|
|
@@ -104,7 +104,7 @@
|
|
len = sizeof(unaddr);
|
|
fd = accept(listener, (struct sockaddr*)&unaddr, &len);
|
|
if( len > sizeof(sa_family_t) ) {
|
|
- *from = strndup(unaddr.sun_path,len-sizeof(sa_family_t));
|
|
+ *from = strdup(unaddr.sun_path);
|
|
} else
|
|
*from = strdup("unknown(local)");
|
|
if( *from == NULL ) {
|