From 92a384b72f442245621b9c4cdfb7f976e749a214 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 11 Feb 2019 16:18:28 -0700 Subject: [PATCH] 56 not 58 --- QnetITAP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QnetITAP.cpp b/QnetITAP.cpp index e74dcd7..4eeb077 100644 --- a/QnetITAP.cpp +++ b/QnetITAP.cpp @@ -332,7 +332,7 @@ int CQnetITAP::SendTo(const unsigned char *buf) } n = 0; // send an ending 0xffu - while (0 == n) { + while (0 == n) {it const unsigned char push = 0xffu; n = write(serfd, &push, 1); if (n < 0) { @@ -354,7 +354,7 @@ bool CQnetITAP::ProcessGateway(const int len, const unsigned char *raw) memcpy(dsvt.title, raw, len); // transfer raw data to SDSVT struct SITAP itap; // destination - if (58 == len) { // write a Header packet + if (56 == len) { // write a Header packet counter = 0; itap.length = 41U; itap.type = 0x20;