summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2023-01-18 10:44:27 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2023-01-26 17:51:16 +0000
commit2577291f010e07173d0fc8b310ac355928f8ed7d (patch)
tree3f43b207698ee4ced27eaa7112371b4c34654a57
parent2ef5ef57bd37a8bec2ac454053b283c6f87c3b40 (diff)
downloadxserver-2577291f010e07173d0fc8b310ac355928f8ed7d.tar.gz
os: Update AllocNewConnection() debug logging to include whether or not the client is local
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--os/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/connection.c b/os/connection.c
index 1d92b6013..a3c8f2a99 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -637,8 +637,8 @@ AllocNewConnection(XtransConnInfo trans_conn, int fd, CARD32 conn_time)
set_poll_client(client);
#ifdef DEBUG
- ErrorF("AllocNewConnection: client index = %d, socket fd = %d\n",
- client->index, fd);
+ ErrorF("AllocNewConnection: client index = %d, socket fd = %d, local = %d\n",
+ client->index, fd, client->local);
#endif
#ifdef XSERVER_DTRACE
XSERVER_CLIENT_CONNECT(client->index, fd);