[Tux4kids-commits] r1554 - tuxmath/trunk/src
David Bruce
dbruce-guest at alioth.debian.org
Fri Sep 25 03:10:24 UTC 2009
Author: dbruce-guest
Date: 2009-09-25 03:10:24 +0000 (Fri, 25 Sep 2009)
New Revision: 1554
Modified:
tuxmath/trunk/src/testclient.c
tuxmath/trunk/src/transtruct.h
Log:
Converted rest of #ifdef LAN_DEBUG statements to new debug system
Modified: tuxmath/trunk/src/testclient.c
===================================================================
--- tuxmath/trunk/src/testclient.c 2009-09-25 03:10:14 UTC (rev 1553)
+++ tuxmath/trunk/src/testclient.c 2009-09-25 03:10:24 UTC (rev 1554)
@@ -207,10 +207,9 @@
{
break;
}
-#ifdef LAN_DEBUG
- printf("Buffer from server is: %s\n", buf);
-#endif
+ DEBUGMSG(debug_lan, "Buffer from server is: %s\n", buf);
+
/* Now we process the buffer according to the command: */
if(strncmp(buf, "SEND_QUESTION", strlen("SEND_QUESTION")) == 0)
{
Modified: tuxmath/trunk/src/transtruct.h
===================================================================
--- tuxmath/trunk/src/transtruct.h 2009-09-25 03:10:14 UTC (rev 1553)
+++ tuxmath/trunk/src/transtruct.h 2009-09-25 03:10:24 UTC (rev 1554)
@@ -14,7 +14,6 @@
#ifndef TRANSTRUCT_H
#define TRANSTRUCT_H
-#define LAN_DEBUG
#define NET_BUF_LEN 512
#define DEFAULT_PORT 4779
#define NAME_SIZE 50
More information about the Tux4kids-commits
mailing list