diff options
Diffstat (limited to 'CommonCode.c')
| -rw-r--r-- | CommonCode.c | 6 |
1 files changed, 2 insertions, 4 deletions
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;
|
