X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2FbatchConverter%2Fmain.cpp;h=0e7eff42c81f61c872a7a66731f8ca4c7c34c358;hb=b78d5c95b731a6eb6288a556fba2ad4094c46fa9;hp=f909d8950673f11e3bb993a4bb6470950a426390;hpb=6a05cda7553cf39d5b14539f9f4b9cf829c156a6;p=anna.git diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index f909d89..0e7eff4 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -70,7 +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.clear(); // perhaps we will need another codec engine ... + G_codecMsg.setEngine(NULL); // perhaps we will need another codec engine ... G_codecMsg.decode(db); } catch(RuntimeException &ex) { _exit(ex.asString());