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