]> git.lizzy.rs Git - dragonblocks_alpha.git/commitdiff
Fix typo
authorElias Fleckenstein <eliasfleckenstein@web.de>
Thu, 1 Apr 2021 17:40:22 +0000 (19:40 +0200)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Thu, 1 Apr 2021 17:40:22 +0000 (19:40 +0200)
src/network.c

index 0d29637d3f3796ecbcf6120ab50e382fc3c53bb7..f4fb0a50896d7b528c9dad2e815e7ea7874667f2 100644 (file)
@@ -43,11 +43,11 @@ static bool handle_packets(Client *client) {
                if (handler && handler->func) {
                        bool good = client->state & handler->state_flags;
                        if (! good)
-                               printf("Recieved %s command, but client is in invalid state: %d\n", handler->name, client->state);
+                               printf("Received %s command, but client is in invalid state: %d\n", handler->name, client->state);
                        if (! handler->func(client, good))
                                break;
                } else {
-                       printf("Recieved invalid command %d\n", command);
+                       printf("Received invalid command %d\n", command);
                }
        }