summaryrefslogtreecommitdiff
path: root/WINMOR.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
committerg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
commitac7e6b99beace1e002246436175581d01b02a117 (patch)
tree6f6113b3d9fbd62c94530619e2a827a708831976 /WINMOR.c
parent60ff21fb3139286e7a79ea73e4b9ae28d6a5524b (diff)
6.0.23.6623.70
Diffstat (limited to 'WINMOR.c')
-rw-r--r--WINMOR.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/WINMOR.c b/WINMOR.c
index e84d200..6bdc70d 100644
--- a/WINMOR.c
+++ b/WINMOR.c
@@ -803,7 +803,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
sprintf(Msg, "%d SCANSTOP", TNC->Port);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
}
@@ -992,7 +992,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
{
sprintf(&buff->L2DATA[0], "%d %s", TNC->Port, &buff->L2DATA[6]);
- if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK->CIRCUITINDEX, &buff->L2DATA[0]))
+ if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK, &buff->L2DATA[0]))
{
}
else
@@ -1327,7 +1327,7 @@ VOID ReleaseTNC(struct TNCINFO * TNC)
sprintf(TXMsg, "%d SCANSTART 15", TNC->Port);
- Rig_Command(-1, TXMsg);
+ Rig_Command( (TRANSPORTENTRY *) -1, TXMsg);
ReleaseOtherPorts(TNC);
@@ -2176,7 +2176,7 @@ VOID ProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
TidyClose(TNC, 0);
sprintf(Status, "%d SCANSTART 15", TNC->Port);
- Rig_Command(-1, Status);
+ Rig_Command( (TRANSPORTENTRY *) -1, Status);
Debugprintf("WINMOR Call from %s rejected", Call);
return;
}
@@ -2201,7 +2201,7 @@ VOID ProcessResponse(struct TNCINFO * TNC, UCHAR * Buffer, int MsgLen)
TidyClose(TNC, 0);
sprintf(Status, "%d SCANSTART 15", TNC->Port);
- Rig_Command(-1, Status);
+ Rig_Command( (TRANSPORTENTRY *) -1, Status);
Debugprintf("WINMOR Call from %s not in ValidCalls - rejected", Call);
return;
}