X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftestclient%2Fmain.cpp;h=9cb32bf167849d06a829aa5256a421a8ff31629b;hb=8d84e2c0857878d0391aee40190919cf57d689e7;hp=867501d55041f1e68ecc4e28bc9cb6d4c8ccf2cb;hpb=d6cc5f60419038914337196282a6c02f3f256574;p=deb_libcec.git diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 867501d..9cb32bf 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -404,7 +404,10 @@ int main (int argc, char *argv[]) while (GetWord(input, strvalue) && HexStrToInt(strvalue, ivalue)) bytes.push_back(ivalue); - parser->Transmit(bytes, command == "tx"); + if (command == "txn") + bytes.ack_timeout = 0; + + parser->Transmit(bytes); } else if (command == "on") {