diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-03-04 22:46:54 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-03-04 22:46:54 +0000 |
| commit | f0b507a096d65291aedcc9f98cde1d7b8aabc024 (patch) | |
| tree | 93b91137e30825ba7fbb690c29d700fba88394ad /SerialPort.c | |
| parent | 9d0d20064dd879c2967a86ef0b6751c563d80196 (diff) | |
| parent | b128f2a43a16acef50de045ae6526772c04c395e (diff) | |
Update upstream source from tag 'upstream/6.0.24.66+repack'
Update to upstream version '6.0.24.66+repack'
with Debian dir 0a1e01b2c4f9c8b665a31c0f8523e8fa0e88b6be
Diffstat (limited to 'SerialPort.c')
| -rw-r--r-- | SerialPort.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SerialPort.c b/SerialPort.c index 2df4ed6..d3b045b 100644 --- a/SerialPort.c +++ b/SerialPort.c @@ -508,9 +508,12 @@ ok: if (_memicmp(&buff->L2DATA[0], "RADIO ", 6) == 0)
{
- sprintf(&buff->L2DATA[0], "%d %s", TNC->Port, &buff->L2DATA[6]);
+ char cmd[56];
- if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK, &buff->L2DATA[0]))
+ strcpy(cmd, &buff->L2DATA[6]);
+ sprintf(&buff->L2DATA[0], "%d %s", TNC->Port, cnd);
+
+ if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK, &buff->L2DATA[0]))
{
}
else
|
