Remove insecure function

master
Ryan Lee 2016-09-20 20:51:16 -04:00
parent e536dd2940
commit b8daf35002
2 changed files with 0 additions and 5 deletions

View File

@ -143,10 +143,6 @@ bool PeerConnect::Send( const string& peer, const char* data, const size_t size,
}
}
bool PeerConnect::Send( const string& peer, const char* message, const bool wait ) {
return Send( peer, message, strlen( message ), wait );
}
bool PeerConnect::Send( const string& peer, const string& message, const bool wait ) {
return Send( peer, message.c_str(), message.size(), wait );
}

View File

@ -45,7 +45,6 @@ public:
void Close( const string peer = "" );
void Connect( const string peer );
bool Send( const string& peer, const char* data, const std::size_t size, const bool wait = SYNC_OFF );
bool Send( const string& peer, const char* data, const bool wait = SYNC_OFF );
bool Send( const string& peer, const string& data, const bool wait = SYNC_OFF );
bool SetOptions( const string options );