diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-12-03 00:27:57 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-12-03 00:27:57 +0000 |
| commit | 96c573931d40b6b191614c96299d66ca6217d1d8 (patch) | |
| tree | f5673406ce7bf25a975179a903f2ca661bcba7b7 /AEAPactor.c | |
| parent | 697fde312336b04129289ed268043e641ef284cb (diff) | |
New upstream version 6.0.24.53+repackupstream/6.0.24.53+repack
Diffstat (limited to 'AEAPactor.c')
| -rw-r--r-- | AEAPactor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/AEAPactor.c b/AEAPactor.c index 98ca400..643dae1 100644 --- a/AEAPactor.c +++ b/AEAPactor.c @@ -292,8 +292,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff) {
// Send Error Response
- buffptr->Len = 36;
- memcpy(buffptr->Data, "No Connection to PACTOR TNC\r", 36);
+ buffptr->Len = sprintf(buffptr->Data, "No Connection to PACTOR TNC\r");
C_Q_ADD(&TNC->Streams[Stream].PACTORtoBPQ_Q, buffptr);
|
