From 64d58d0c5a01551f8bfc52291986d1b8d681aca5 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 3 Feb 2025 22:18:58 +0000 Subject: New upstream version 6.0.24.59a+repack --- ChatUtilities.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ChatUtilities.c') diff --git a/ChatUtilities.c b/ChatUtilities.c index 9a32436..0e5ef79 100644 --- a/ChatUtilities.c +++ b/ChatUtilities.c @@ -39,7 +39,8 @@ VOID __cdecl Logprintf(int LogMode, ChatCIRCUIT * conn, int InOut, const char * return; } -void GetSemaphore(struct SEM * Semaphore, int ID) + +void _GetSemaphore(struct SEM * Semaphore, int ID, char * File, int Line) { // // Wait for it to be free @@ -74,6 +75,9 @@ loop1: ; } + Semaphore->Line = Line; + strcpy(Semaphore->File, File); + return; } void FreeSemaphore(struct SEM * Semaphore) -- cgit v1.2.3