os: Update AllocNewConnection() debug logging to include whether or not the client is local

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston Sequoia 2023-01-18 10:44:27 -08:00
parent 2ef5ef57bd
commit 2577291f01

View File

@ -637,8 +637,8 @@ AllocNewConnection(XtransConnInfo trans_conn, int fd, CARD32 conn_time)
set_poll_client(client); set_poll_client(client);
#ifdef DEBUG #ifdef DEBUG
ErrorF("AllocNewConnection: client index = %d, socket fd = %d\n", ErrorF("AllocNewConnection: client index = %d, socket fd = %d, local = %d\n",
client->index, fd); client->index, fd, client->local);
#endif #endif
#ifdef XSERVER_DTRACE #ifdef XSERVER_DTRACE
XSERVER_CLIENT_CONNECT(client->index, fd); XSERVER_CLIENT_CONNECT(client->index, fd);