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