home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b2f2eb
)
Client: Remove superfluous line of code.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 20 Nov 2014 22:24:20 +0000
(23:24 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 20 Nov 2014 22:24:20 +0000
(23:24 +0100)
src/client/io.c
patch
|
blob
|
history
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);