diff options
Diffstat (limited to 'WINMOR.c')
| -rw-r--r-- | WINMOR.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -984,8 +984,12 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff) if (_memicmp(&buff->L2DATA[0], "RADIO ", 6) == 0)
{
- sprintf(&buff->L2DATA[0], "%d %s", TNC->Port, &buff->L2DATA[6]);
+ char cmd[56];
+ strcpy(cmd, &buff->L2DATA[6]);
+ sprintf(&buff->L2DATA[0], "%d %s", TNC->Port, &cmd);
+
+
if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK, &buff->L2DATA[0]))
{
}
|
