From 7a61c594e1bf9fd62e156d3d8db772fe7c4bfd03 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 28 Dec 2023 10:31:09 +0000 Subject: New upstream version 6.0.24.25 --- CommonCode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'CommonCode.c') diff --git a/CommonCode.c b/CommonCode.c index d28cefa..31e4ebc 100644 --- a/CommonCode.c +++ b/CommonCode.c @@ -49,7 +49,7 @@ extern struct CONFIGTABLE xxcfg; #endif -struct TNCINFO * TNCInfo[70]; // Records are Malloc'd +struct TNCINFO * TNCInfo[71]; // Records are Malloc'd extern int ReportTimer; @@ -3516,8 +3516,6 @@ int __sync_lock_test_and_set(int * ptr, int val) #endif // __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ #endif // MACBPQ - - void GetSemaphore(struct SEM * Semaphore, int ID) { // @@ -5232,7 +5230,7 @@ void SendDataToPktMap(char *Msg) // TCP - Mode = Modenames[TNC->Hardware]; + Mode = Modenames[TNC->Hardware - 1]; if (TNC->CONNECTED) Active = 1; -- cgit v1.2.3