From a7d635fe2f04abcc3683f680f6a05ff9b11bf3aa Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 16 Dec 2024 17:54:16 +0000 Subject: New upstream version 6.0.24.54+repack --- ARDOP.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ARDOP.c') 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 -- cgit v1.2.3