summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorCreaprog <creaprog@gmail.com>2015-02-15 20:39:53 +0100
committerCreaprog <creaprog@gmail.com>2015-02-15 20:39:53 +0100
commit6f9c62172bb1f6679f733f05e10e712ca7bc3c47 (patch)
treeb73116e6d0c7cefe66696311f64c305c7b1523e7 /Tools
parentFixed Server.cpp (diff)
downloadcuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.tar
cuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.tar.gz
cuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.tar.bz2
cuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.tar.lz
cuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.tar.xz
cuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.tar.zst
cuberite-6f9c62172bb1f6679f733f05e10e712ca7bc3c47.zip
Diffstat (limited to 'Tools')
-rw-r--r--Tools/ProtoProxy/Server.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Tools/ProtoProxy/Server.cpp b/Tools/ProtoProxy/Server.cpp
index 2932b37e3..e27c86e10 100644
--- a/Tools/ProtoProxy/Server.cpp
+++ b/Tools/ProtoProxy/Server.cpp
@@ -6,7 +6,6 @@
#include "Globals.h"
#include "Server.h"
#include "Connection.h"
-#include "Logger.h"
@@ -34,7 +33,7 @@ int cServer::Init(short a_ListenPort, short a_ConnectPort)
}
#endif // _WIN32
- LOG("Generating protocol encryption keypair...");
+ LOGINFO("Generating protocol encryption keypair...");
m_PrivateKey.Generate();
m_PublicKeyDER = m_PrivateKey.GetPubKeyDER();
@@ -98,10 +97,10 @@ void cServer::Run(void)
printf("accept returned an error: %d; bailing out.\n", SocketError);
return;
}
- LOG("Client connected, proxying...");
+ LOGINFO("Client connected, proxying...");
cConnection Connection(client, *this);
Connection.Run();
- LOG("Client disconnected. Ready for another connection.");
+ LOGINFO("Client disconnected. Ready for another connection.");
}
}