X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2FbatchConverter%2Fmain.cpp;h=0e7eff42c81f61c872a7a66731f8ca4c7c34c358;hb=b78d5c95b731a6eb6288a556fba2ad4094c46fa9;hp=5ccf1c8a15f1aaed8da3c3c9867c574af4f05992;hpb=e80e62a5cf9aacad1a9551c68c432147ef98cd29;p=anna.git diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index 5ccf1c8..0e7eff4 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -70,6 +70,7 @@ void _exit(const std::string &message, int resultCode = 1) { // Decodes a diameter message coming from a datablock void decodeDataBlock(const anna::DataBlock &db/*, unsigned int & detectedApplicationId*/) throw() { try { + G_codecMsg.setEngine(NULL); // perhaps we will need another codec engine ... G_codecMsg.decode(db); } catch(RuntimeException &ex) { _exit(ex.asString());