summaryrefslogtreecommitdiff
path: root/ARDOP.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-16 17:54:16 +0000
committerDave Hibberd <hibby@debian.org>2024-12-16 17:54:16 +0000
commita7d635fe2f04abcc3683f680f6a05ff9b11bf3aa (patch)
tree898cca0ff2fe5fe2cdee6e6ed6bf72f23cae463a /ARDOP.c
parent93a10a982d3fcab0c469e2805b2034bba4e59a55 (diff)
New upstream version 6.0.24.54+repackupstream/6.0.24.54+repack
Diffstat (limited to 'ARDOP.c')
-rw-r--r--ARDOP.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ARDOP.c b/ARDOP.c
index ff3ce4e..704092f 100644
--- a/ARDOP.c
+++ b/ARDOP.c
@@ -562,7 +562,7 @@ static int ProcessLine(char * buf, int Port)
void ARDOPThread(struct TNCINFO * TNC);
VOID ARDOPProcessDataSocketData(int port);
-int ConnecttoARDOP();
+int ConnecttoARDOP(struct TNCINFO * TNC);
static VOID ARDOPProcessReceivedData(struct TNCINFO * TNC);
static VOID ARDOPProcessReceivedControl(struct TNCINFO * TNC);
int V4ProcessReceivedData(struct TNCINFO * TNC);
@@ -3212,7 +3212,7 @@ VOID ARDOPProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
{
char AppName[13];
- memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
+ memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
AppName[12] = 0;
if (TNC->SendTandRtoRelay && memcmp(AppName, "RMS ", 4) == 0
@@ -5063,7 +5063,7 @@ tcpHostFrame:
{
char AppName[13];
- memcpy(AppName, &ApplPtr[App * sizeof(CMDX)], 12);
+ memcpy(AppName, &ApplPtr[App * sizeof(struct CMDX)], 12);
AppName[12] = 0;
// Make sure app is available