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