From: Eduardo Ramos Testillano Date: Wed, 1 Apr 2015 14:18:34 +0000 (+0200) Subject: Minor fixes X-Git-Tag: REFACTORING_TESTING_LIBRARY~203 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=d05828d1ebfc81da3041e8ac474057fc0e453f0c;p=anna.git Minor fixes --- 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); }