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/Endpoint.cpp
- Revision:
- 38:f13e4e563d65
- Parent:
- 35:e4e7f86fd975
- Child:
- 39:a1233ca02edf
diff -r f3a2053627c2 -r f13e4e563d65 Socket/Endpoint.cpp
--- a/Socket/Endpoint.cpp Tue Jun 24 06:24:23 2014 +0000
+++ b/Socket/Endpoint.cpp Wed Jun 25 00:04:11 2014 +0000
@@ -46,11 +46,11 @@
mIpAddress[0] = '\0';
}
-int Endpoint::set_address(const char* host, const int port)
+int Endpoint::set_address(const char* host_p, const int port)
{
reset_address();
- strcpy( mIpAddress, host );
+ strcpy( mIpAddress, host_p );
mPort = port;
return 0;
