summaryrefslogtreecommitdiff
path: root/CommonCode.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
committerg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
commit75b5bcc9a97b38c6c0c210bf14fabad9cadf704a (patch)
tree913d37a3946a40e9694833ed36fd5a8e02a23d42 /CommonCode.c
parenta21121fbfce48307740e6ade5f4f16531501b053 (diff)
6.0.23.7623.77
Diffstat (limited to 'CommonCode.c')
-rw-r--r--CommonCode.c7
1 files changed, 3 insertions, 4 deletions
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];