diff options
Diffstat (limited to 'csgo-loader/csgo-server')
| -rw-r--r-- | csgo-loader/csgo-server/Security/Encryption.cpp | 2 | ||||
| -rw-r--r-- | csgo-loader/csgo-server/Server.cpp | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/csgo-loader/csgo-server/Security/Encryption.cpp b/csgo-loader/csgo-server/Security/Encryption.cpp index b42b4ab..e9195e5 100644 --- a/csgo-loader/csgo-server/Security/Encryption.cpp +++ b/csgo-loader/csgo-server/Security/Encryption.cpp @@ -570,7 +570,7 @@ namespace Wrapper {
if(!CryptAcquireContextA(&m_CryptProvider, nullptr, nullptr, PROV_RSA_AES, CRYPT_NEWKEYSET))
{
- printf("Failed to initialise encryption provider.\n");
+ printf("[ E! ] Failed to initialise encryption provider (%08x).\n", GetLastError());
return;
}
}
diff --git a/csgo-loader/csgo-server/Server.cpp b/csgo-loader/csgo-server/Server.cpp index eeeb2b3..580c17a 100644 --- a/csgo-loader/csgo-server/Server.cpp +++ b/csgo-loader/csgo-server/Server.cpp @@ -1,9 +1,6 @@ #include <Server.hpp>
-void ConnectionHandler(Networking::TCPConnection &Connection)
-{
-
-}
+void ConnectionHandler(Networking::TCPConnection &Connection) { }
int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int)
{
@@ -26,7 +23,7 @@ int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) }
if(!Result)
- printf("[ !! ] Failed to initialise server. (%08lx)\n", WSAGetLastError());
+ printf("[ E! ] Failed to initialise server. (%08lx)\n", WSAGetLastError());
system("pause");
}
\ No newline at end of file |
