SNICInterface for development
Fork of SNICInterface by
Diff: Socket/Endpoint.cpp
- Revision:
- 38:f13e4e563d65
- Parent:
- 35:e4e7f86fd975
- Child:
- 39:a1233ca02edf
--- 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;