From a220f53cb81248d06fb6f044c102c6ab8bffe2d5 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Wed, 18 Jan 2023 10:44:27 -0800 Subject: [PATCH] os: Update AllocNewConnection() debug logging to include whether or not the client is local Signed-off-by: Jeremy Huddleston Sequoia (cherry picked from commit 2577291f010e07173d0fc8b310ac355928f8ed7d) --- os/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/connection.c b/os/connection.c index 55f1cd32e..3fd0b009e 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);