diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-12-16 17:54:16 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-12-16 17:54:16 +0000 |
| commit | a7d635fe2f04abcc3683f680f6a05ff9b11bf3aa (patch) | |
| tree | 898cca0ff2fe5fe2cdee6e6ed6bf72f23cae463a /AEAPactor.c | |
| parent | 93a10a982d3fcab0c469e2805b2034bba4e59a55 (diff) | |
New upstream version 6.0.24.54+repackupstream/6.0.24.54+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);
|
