Explorar el Código

Remove debug logs

Daniele Bartolini hace 12 años
padre
commit
6d467e95f9
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. 0 7
      engine/rpc/RPCServer.cpp

+ 0 - 7
engine/rpc/RPCServer.cpp

@@ -219,12 +219,6 @@ void RPCServer::update_client(ClientId id)
 		{
 			if (result.received_bytes > 0)
 			{
-				for (uint32_t i = 0; i < result.received_bytes; i++)
-			 	{
-			 		printf("%c", buf[i]);
-			 	}
-			 	printf("\n");
-
 				m_receive_buffer.push(buf, result.received_bytes);
 				total_read += result.received_bytes;
 				continue;
@@ -249,7 +243,6 @@ void RPCServer::update_client(ClientId id)
 	if (total_read > 0)
 	{
 		JSONParser parser(&m_receive_buffer[message_index]);
-		Log::d("%s", &m_receive_buffer[message_index]);
 		JSONElement root = parser.root();
 		JSONElement type = root.key_or_nil("type");