Browse Source

Consistent logging

Kajetan Johannes Hammerle 11 months ago
parent
commit
ddaa407b5a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Network.c

+ 3 - 3
src/Network.c

@@ -259,10 +259,10 @@ void coreClientStop(void) {
 
 bool coreClientConnect(const char* server, CorePort port, int timeoutTicks) {
     if(client.client == nullptr) {
-        CORE_LOG_WARNING("client not started");
+        CORE_LOG_WARNING("Client not started");
         return true;
     } else if(client.connection != nullptr) {
-        CORE_LOG_WARNING("connection already exists");
+        CORE_LOG_WARNING("Connection already exists");
         return true;
     }
 
@@ -272,7 +272,7 @@ bool coreClientConnect(const char* server, CorePort port, int timeoutTicks) {
 
     client.connection = enet_host_connect(client.client, &address, 3, 0);
     if(client.connection == nullptr) {
-        CORE_LOG_ERROR("cannot create connection");
+        CORE_LOG_ERROR("Cannot create connection");
         return true;
     }
     client.connectTicks = 1;