diff options
author | Creaprog <creaprog@gmail.com> | 2015-02-15 14:29:11 +0100 |
---|---|---|
committer | Creaprog <creaprog@gmail.com> | 2015-02-15 14:29:11 +0100 |
commit | 5797f99defa2f8afb0641d5f6ec0cc7557e069ee (patch) | |
tree | 61e42156c63a53af763a22c85c21f8c1b5a7af18 /Tools/ProtoProxy | |
parent | Merge pull request #1740 from Creaprog/patch-1 (diff) | |
download | cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.tar cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.tar.gz cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.tar.bz2 cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.tar.lz cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.tar.xz cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.tar.zst cuberite-5797f99defa2f8afb0641d5f6ec0cc7557e069ee.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/ProtoProxy/Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/ProtoProxy/Server.cpp b/Tools/ProtoProxy/Server.cpp index 9545af852..77d1af827 100644 --- a/Tools/ProtoProxy/Server.cpp +++ b/Tools/ProtoProxy/Server.cpp @@ -33,7 +33,7 @@ int cServer::Init(short a_ListenPort, short a_ConnectPort) } #endif // _WIN32 - printf("Generating protocol encryption keypair...\n"); + puts("Generating protocol encryption keypair..."); m_PrivateKey.Generate(); m_PublicKeyDER = m_PrivateKey.GetPubKeyDER(); @@ -85,7 +85,7 @@ int cServer::Init(short a_ListenPort, short a_ConnectPort) void cServer::Run(void) { - printf("Server running.\n"); + puts("Server running."); while (true) { sockaddr_in Addr; @@ -97,10 +97,10 @@ void cServer::Run(void) printf("accept returned an error: %d; bailing out.\n", SocketError); return; } - printf("Client connected, proxying...\n"); + puts("Client connected, proxying..."); cConnection Connection(client, *this); Connection.Run(); - printf("Client disconnected. Ready for another connection.\n"); + puts("Client disconnected. Ready for another connection."); } } |