home · contact · privacy
Client: Add size test to array_append().
[plomrogue] / src / client / io.c
index 45008155098ac03150c1ad53bf6a9ea8f503866c..6b55de932d5e179931405d1b57f77f656a569b70 100644 (file)
@@ -237,8 +237,7 @@ static uint8_t read_queue()
     while (NULL != (msg = get_message_from_queue(&world.queue)))
     {
         char * log_prefix = "LOG ";
-        char * new_world = "NEW_WORLD";
-        if (!strcmp(msg, new_world))
+        if (!strcmp(msg, "NEW_WORLD"))
         {
             ret = 1;
             free(world.log);