From 2577291f010e07173d0fc8b310ac355928f8ed7d Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Wed, 18 Jan 2023 10:44:27 -0800 Subject: os: Update AllocNewConnection() debug logging to include whether or not the client is local Signed-off-by: Jeremy Huddleston Sequoia --- os/connection.c | 4 ++-- 1 file 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); -- cgit v1.2.1