From d05828d1ebfc81da3041e8ac474057fc0e453f0c Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Wed, 1 Apr 2015 16:18:34 +0200 Subject: [PATCH] Minor fixes --- example/diameter/launcher/main.cpp | 2 +- example/diameter/stackManagement/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/diameter/launcher/main.cpp b/example/diameter/launcher/main.cpp index 54fcbdc..5a8422d 100644 --- a/example/diameter/launcher/main.cpp +++ b/example/diameter/launcher/main.cpp @@ -358,7 +358,7 @@ public: bool Launcher::getDataBlockFromHexFile(const std::string &pathfile, anna::DataBlock &db) const throw() { // Get hex string - static char buffer[2048]; + static char buffer[8192]; std::ifstream infile(pathfile.c_str(), std::ifstream::in); if(infile.is_open()) { infile >> buffer; diff --git a/example/diameter/stackManagement/main.cpp b/example/diameter/stackManagement/main.cpp index 727939a..96645b3 100644 --- a/example/diameter/stackManagement/main.cpp +++ b/example/diameter/stackManagement/main.cpp @@ -68,7 +68,7 @@ int main(int argc, char** argv) { std::string param = argv[1] ? argv[1] : ""; if (param == "") { - std::string msg = anna::functions::asString("Use: %s ,\n i.e. '%s avps.xml commands.xml'", exec.c_str(), exec.c_str()); + std::string msg = anna::functions::asString("Usage: %s ,\n i.e. '%s avps.xml commands.xml'", exec.c_str(), exec.c_str()); _exit(msg); } -- 2.20.1