debug version

Dependents:   HTTPClient_WiFi_HelloWorld_src

Fork of SNICInterface by muRata

Revision:
45:50d60753ade3
Parent:
43:d80bbb12ffe6
Child:
52:29b4d0adddf3
--- a/Socket/TCPSocketServer.cpp	Fri Nov 14 00:52:31 2014 +0000
+++ b/Socket/TCPSocketServer.cpp	Fri Jan 30 03:07:35 2015 +0000
@@ -156,7 +156,7 @@
     return 0;
 }
 
-int TCPSocketServer::accept(TCPSocketConnection *connection)
+int TCPSocketServer::accept(TCPSocketConnection& connection)
 {
     C_SNIC_Core *snic_core_p = C_SNIC_Core::getInstance();
     int          i;
@@ -172,7 +172,7 @@
             && (con_info_p->parent_socket == mSocketID) )
         {
             // Set socket id
-            connection->setAcceptSocket( i );
+            connection.setAcceptSocket( i );
             ret = 0;
         }   
     }