fixed qnremote Write return type

dev
Tom Early 2 years ago
parent dd2b016905
commit 8ab5acfa8d

@ -251,7 +251,7 @@ int main(int argc, char *argv[])
calcPFCS(pkt.title); calcPFCS(pkt.title);
// send the header // send the header
if (56 != ToGateway.Write(pkt.title, 56)) if (ToGateway.Write(pkt.title, 56))
{ {
printf("%s: ERROR: Couldn't send header!\n", argv[0]); printf("%s: ERROR: Couldn't send header!\n", argv[0]);
return 1; return 1;
@ -321,7 +321,7 @@ int main(int argc, char *argv[])
break; break;
} }
if (27 != ToGateway.Write(pkt.title, 27)) if (ToGateway.Write(pkt.title, 27))
{ {
printf("%s: ERROR: could not send voice packet %d\n", argv[0], i); printf("%s: ERROR: could not send voice packet %d\n", argv[0], i);
return 1; return 1;

Loading…
Cancel
Save

Powered by TurnKey Linux.