[Tux4kids-commits] r992 - tuxmath/trunk/src

akash gangil gangil-guest at alioth.debian.org
Mon May 25 14:26:57 UTC 2009


Author: gangil-guest
Date: 2009-05-25 14:26:57 +0000 (Mon, 25 May 2009)
New Revision: 992

Modified:
   tuxmath/trunk/src/network.c
Log:
small change

Modified: tuxmath/trunk/src/network.c
===================================================================
--- tuxmath/trunk/src/network.c	2009-05-25 14:08:33 UTC (rev 991)
+++ tuxmath/trunk/src/network.c	2009-05-25 14:26:57 UTC (rev 992)
@@ -110,13 +110,13 @@
 continue;
 }
 
-// get the clients IP and port number
-remoteip=SDLNet_TCP_GetPeerAddress(client);
-if(!remoteip)
-{
-printf("SDLNet_TCP_GetPeerAddress: %s\n",SDLNet_GetError());
-continue;
-}
+/// get the clients IP and port number
+//remoteip=SDLNet_TCP_GetPeerAddress(client);
+//if(!remoteip)
+//{
+//printf("SDLNet_TCP_GetPeerAddress: %s\n",SDLNet_GetError());
+//continue;
+//}
 
 /*for testing purpose to check if it is connected to the desired client
 // print out the clients IP and port number
@@ -129,6 +129,8 @@
 remoteip->port);
 
 */
+
+return(0);
 }
 
-return(0);
+




More information about the Tux4kids-commits mailing list