X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2FbatchConverter%2Fmain.cpp;h=72329739d29f4cd058f2a3f7ca511267107b7643;hb=a8cde75abebb30020be4d9cb10d898f8986e124c;hp=2095f44063682e01b9f285eba7cdb466b4859283;hpb=7512d6f74897d5f85240f7987ddcdc4e64e220e7;p=anna.git diff --git a/example/diameter/batchConverter/main.cpp b/example/diameter/batchConverter/main.cpp index 2095f44..7232973 100644 --- a/example/diameter/batchConverter/main.cpp +++ b/example/diameter/batchConverter/main.cpp @@ -89,7 +89,7 @@ int main(int argc, char **argv) { if(argc < 3) { std::string msg = "Usage: "; msg += exec; msg += " [--hex-only] [--xml-only] [--no-validation] [--ignore-flags] [--debug]\n\n"; - msg += " stacks: \n"; + msg += " stacks: \n"; msg += " This is a list of #-separated stacks defined by a comma-separated pair \n"; msg += " If only one stack is provided, application-id could be omitted and then, all the messages will be decoded with the\n"; msg += " dictionary regardless the value of the application-id (the stack will be registered with id=0).\n"; @@ -122,7 +122,7 @@ int main(int argc, char **argv) { bool processHex = xmlOnly ? false:true; Logger::setLevel(debug ? Logger::Debug:Logger::Warning); Logger::initialize(execBN.c_str(), new TraceWriter(filetrace.c_str(), 2048000)); - G_codecEngine = new anna::diameter::codec::Engine(); + G_codecEngine = new anna::diameter::codec::Engine("MyCodecEngine"); G_codecMsg = G_codecEngine->createMessage(); anna::diameter::stack::Engine &stackEngine = anna::diameter::stack::Engine::instantiate();