From 75b5bcc9a97b38c6c0c210bf14fabad9cadf704a Mon Sep 17 00:00:00 2001 From: g8bpq Date: Wed, 21 Jun 2023 08:21:04 +0100 Subject: 6.0.23.76 --- CommonCode.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'CommonCode.c') diff --git a/CommonCode.c b/CommonCode.c index 1a1dfd6..7060c77 100644 --- a/CommonCode.c +++ b/CommonCode.c @@ -913,9 +913,8 @@ BOOL ProcessIncommingConnectEx(struct TNCINFO * TNC, char * Call, int Stream, BO PMSGWITHLEN buffptr; int Totallen = 0; UCHAR * ptr; - struct PORTCONTROL * PORT; + struct PORTCONTROL * PORT = TNC->PortRecord; - PORT = &TNC->PortRecord->PORTCONTROL; // Stop Scanner @@ -3264,7 +3263,7 @@ VOID SendReportMsg(char * buff, int txlen) buff[txlen++] = (crc&0xff); buff[txlen++] = (crc>>8); - sendto(ReportSocket, buff, txlen, 0, (LPSOCKADDR)&reportdest, sizeof(reportdest)); + sendto(ReportSocket, buff, txlen, 0, (struct sockaddr *)&reportdest, sizeof(reportdest)); } VOID SendLocation() @@ -4160,7 +4159,7 @@ VOID GetUIConfig() } #else - + int retCode, Vallen, Type, i; char Key[80]; char Size[80]; -- cgit v1.2.3