Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of NySNICInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 15:5eb637414df2
- Parent:
- 14:54378c96d285
- Child:
- 16:6100acfeb1f1
--- a/Socket/TCPSocketConnection.cpp	Wed Mar 26 04:38:12 2014 +0000
+++ b/Socket/TCPSocketConnection.cpp	Thu Mar 27 05:12:22 2014 +0000
@@ -49,7 +49,7 @@
     }
 
     // Get buffer for response payload from MemoryPool
-    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->getAlocCmdBuf();
+    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->allocCmdBuf();
     if( payload_buf == NULL )
     {
         printf("connect payload_buf NULL\r\n");
@@ -124,7 +124,7 @@
 int TCPSocketConnection::send(unsigned char* data_p, int length)
 {
     // Get buffer for response payload from MemoryPool
-    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->getAlocCmdBuf();
+    tagMEMPOOL_BLOCK_T *payload_buf = mSnicWifi_p->allocCmdBuf();
     if( payload_buf == NULL )
     {
         printf("connect payload_buf NULL\r\n");
    