summaryrefslogtreecommitdiff
path: root/WINMOR.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-16 17:54:18 +0000
committerDave Hibberd <hibby@debian.org>2024-12-16 17:54:18 +0000
commit1f73eb560144e17ec5c32d93cd0b94595652c0b3 (patch)
treeb63de94dbfbce428e92be6b8cf628e07a2c214ee /WINMOR.c
parenteab73bee95a961a76987bee6377d11dbfb3b41e9 (diff)
parenta7d635fe2f04abcc3683f680f6a05ff9b11bf3aa (diff)
Update upstream source from tag 'upstream/6.0.24.54+repack'
Update to upstream version '6.0.24.54+repack' with Debian dir f571d496d3f77935537972cf3e51bf50eb055257
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