Commit 60e88a0b authored by Mike Gabriel's avatar Mike Gabriel

nxcomp/Loop.cpp: We have PrintVersionInfo(), why not use it? Use endl instead of…

nxcomp/Loop.cpp: We have PrintVersionInfo(), why not use it? Use endl instead of \n for EOLs when streaming application's preamble to stderr.
parent 01ebcfa3
...@@ -13921,15 +13921,18 @@ void PrintProcessInfo() ...@@ -13921,15 +13921,18 @@ void PrintProcessInfo()
{ {
if (agent == NULL) if (agent == NULL)
{ {
cerr << "\nNXPROXY - Version " << control -> LocalVersionMajor
<< "." << control -> LocalVersionMinor << "." cerr << endl;
<< control -> LocalVersionPatch << "\n\n";
PrintVersionInfo();
cerr << endl;
cerr << GetCopyrightInfo() cerr << GetCopyrightInfo()
<< "\n" << endl
<< GetOtherCopyrightInfo() << GetOtherCopyrightInfo()
<< "\n" << endl
<< "See https://github.com/ArcticaProject/nx-libs for more information.\n\n"; << "See https://github.com/ArcticaProject/nx-libs for more information." << endl << endl;
} }
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment