Fork of NetServicesMin with some warnings removed

Dependencies:   lwip-sys lwip

Fork of NetServicesMin by Hendrik Lipka

Files at this revision

API Documentation at this revision

Comitter:
uci1
Date:
Sat Nov 24 20:20:45 2012 +0000
Parent:
3:c3f738396920
Commit message:
Remove debugging printouts

Changed in this revision

if/lwip/lwipNetTcpSocket.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/if/lwip/lwipNetTcpSocket.cpp	Sat Nov 24 06:22:40 2012 +0000
+++ b/if/lwip/lwipNetTcpSocket.cpp	Sat Nov 24 20:20:45 2012 +0000
@@ -292,7 +292,6 @@
 
 err_t LwipNetTcpSocket::acceptCb(struct tcp_pcb *newpcb, err_t err)
 {
-printf("acceptCb\r\n");
   if(err)
   {
     DBG("Error %d in LwipNetTcpSocket::acceptCb.\n", err);
@@ -305,7 +304,6 @@
   if(pNewNetTcpSocket == NULL)
   {
     DBG("Not enough mem, socket dropped in LwipNetTcpSocket::acceptCb.\n");
-printf("not enough mem\r\n");
     tcp_abort(newpcb);
     return ERR_ABRT;
   }
@@ -327,7 +325,6 @@
 
 void LwipNetTcpSocket::errCb(err_t err)
 {
-printf("errCb: err=%d\r\n",err);
 
   DBG("NetTcpSocket %p - Error %d in LwipNetTcpSocket::errCb.\n", (void*)this, err);
   //WARN: At this point, m_pPcb has been freed by lwIP