pull/12/head
Tom Early 7 years ago
parent 660cdf9238
commit 92a384b72f

@ -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;

Loading…
Cancel
Save

Powered by TurnKey Linux.