home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Server: Add explanatory comment.
[plomrogue]
/
src
/
client
/
io.c
diff --git
a/src/client/io.c
b/src/client/io.c
index 45008155098ac03150c1ad53bf6a9ea8f503866c..6b55de932d5e179931405d1b57f77f656a569b70 100644
(file)
--- a/
src/client/io.c
+++ b/
src/client/io.c
@@
-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);