diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-08-30 10:15:03 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-08-30 10:15:03 +0100 |
| commit | b26c87817a84747300d1ca59d80feff10976f22e (patch) | |
| tree | f2fcfcd42b93b449850ab1f78c254af392b5c922 /SerialPort.c | |
| parent | 60585818de254e8921fca42f55c175aa52e77e1e (diff) | |
| parent | 6dfe32758e1a995b1241af8c981798c22cd70439 (diff) | |
Update upstream source from tag 'upstream/6.0.24.42'
Update to upstream version '6.0.24.42'
with Debian dir 41e80b6ddfe044cd65e1f3985d66d43c24aadd9f
Diffstat (limited to 'SerialPort.c')
| -rw-r--r-- | SerialPort.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SerialPort.c b/SerialPort.c index 59ab627..9886be7 100644 --- a/SerialPort.c +++ b/SerialPort.c @@ -452,8 +452,7 @@ ok: if (buffptr == 0) return (0); // No buffers, so ignore
- buffptr->Len = 36;
- memcpy(&buffptr->Data[0], "No Connection to TNC\r", 36);
+ buffptr->Len = sprintf(&buffptr->Data[0], "No Connection to TNC\r");
C_Q_ADD(&TNC->Streams[Stream].PACTORtoBPQ_Q, buffptr);
|
