summaryrefslogtreecommitdiff
path: root/ChatUtilities.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-02-03 22:18:58 +0000
committerDave Hibberd <hibby@debian.org>2025-02-03 22:18:58 +0000
commit64d58d0c5a01551f8bfc52291986d1b8d681aca5 (patch)
tree4f846e63762be51699156e460c79be53d8045521 /ChatUtilities.c
parenta5c4d344ccf55a47fd6bc91a327073915b6c281e (diff)
New upstream version 6.0.24.59a+repackupstream/6.0.24.59a+repack
Diffstat (limited to 'ChatUtilities.c')
-rw-r--r--ChatUtilities.c6
1 files changed, 5 insertions, 1 deletions
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)