X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2FbatchConverter%2Fmain.cpp;h=12265cfae0aba8927f9c1799c6992000f4f608f1;hb=7f71fdb0169af46406b875014b6fc297475cff62;hp=5ccf1c8a15f1aaed8da3c3c9867c574af4f05992;hpb=e80e62a5cf9aacad1a9551c68c432147ef98cd29;p=anna.git diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index 5ccf1c8..12265cf 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(); G_codecMsg.decode(db); } catch(RuntimeException &ex) { _exit(ex.asString());