From 76ba2b5c5089979bb44aedd8b7710e33937074e9 Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Fri, 6 Dec 2024 11:44:57 -0500 Subject: [PATCH] [8001] Write client and proxy user info to ips data file in correct order. --- server/core/src/procLog.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/server/core/src/procLog.cpp b/server/core/src/procLog.cpp index 34e82e3af5..1cabf5910f 100644 --- a/server/core/src/procLog.cpp +++ b/server/core/src/procLog.cpp @@ -89,10 +89,15 @@ logAgentProc( rsComm_t *rsComm ) { return UNIX_FILE_OPEN_ERR - errno; } - fprintf( fptr, "%s %s %s %s %s %s %u\n", - rsComm->proxyUser.userName, clientZone, - rsComm->clientUser.userName, proxyZone, - progName, remoteAddr, ( unsigned int ) time( 0 ) ); + fprintf(fptr, + "%s %s %s %s %s %s %u\n", + rsComm->clientUser.userName, + clientZone, + rsComm->proxyUser.userName, + proxyZone, + progName, + remoteAddr, + (unsigned int) time(0)); rsComm->procLogFlag = PROC_LOG_DONE; fclose( fptr );