diff options
Diffstat (limited to 'ChatUtilities.c')
| -rw-r--r-- | ChatUtilities.c | 6 |
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)
|
