summaryrefslogtreecommitdiff
path: root/WINMOR.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-17 17:45:09 +0000
commit87cd041888dbeefe040b44b2d0a6945d8b850630 (patch)
tree90ddbd87b5e84f3f037b1721389b1061c7c15d34 /WINMOR.c
parent96c573931d40b6b191614c96299d66ca6217d1d8 (diff)
New upstream version 6.0.24.54+repack
Diffstat (limited to 'WINMOR.c')
-rw-r--r--WINMOR.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WINMOR.c b/WINMOR.c
index a920a4e..7f6763b 100644
--- a/WINMOR.c
+++ b/WINMOR.c
@@ -508,7 +508,7 @@ static int ProcessLine(char * buf, int Port)
void WINMORThread(void * portptr);
VOID ProcessDataSocketData(int port);
-int ConnecttoWINMOR();
+int ConnecttoWINMOR(int port);
static int ProcessReceivedData(struct TNCINFO * TNC);
int V4ProcessReceivedData(struct TNCINFO * TNC);
VOID ReleaseTNC(struct TNCINFO * TNC);
@@ -2231,7 +2231,7 @@ VOID ProcessResponse(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;
// Make sure app is available