summaryrefslogtreecommitdiff
path: root/src/client.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-30 16:51:15 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-30 16:51:15 +0000
commit617ba439aab5f1798eb02618dfcfbed80a5baf28 (patch)
tree13df71c96bd302f066406644f20ddd0e58490ded /src/client.c
parentb4db5fe1a7c0145c2437cb2f117a2ae59d4e8025 (diff)
- polozky casovaca sa nachadzaju v zozname list_t , ktory he sucastou arena_t
- pri bonuse neviditelnost sa neda podvadzat modifikovanim clienta - o vystreli sa stara server, ich suradnicu a dalsie info posiela server clientom - parametre sa pisu vo forme --env=val git-svn-id: http://opensvn.csie.org/tuxanci_ng@38 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c
index f942b60..8e5aae3 100644
--- a/src/client.c
+++ b/src/client.c
@@ -202,9 +202,9 @@ void eventServerBuffer()
while ( getBufferLine(clientBuffer, line, STR_PROTO_SIZE) >= 0 )
{
-//#ifdef DEBUG_CLIENT_RECV
+#ifdef DEBUG_CLIENT_RECV
printf("recv server msg->%s", line);
-//#endif
+#endif
if( strncmp(line, "error", 5) == 0 )proto_recv_error_client(line);
if( strncmp(line, "init", 4) == 0 )proto_recv_init_client(line);
if( strncmp(line, "event", 5) == 0 )proto_recv_event_client(line);