Remove insecure function
parent
e536dd2940
commit
b8daf35002
|
@ -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 ) {
|
bool PeerConnect::Send( const string& peer, const string& message, const bool wait ) {
|
||||||
return Send( peer, message.c_str(), message.size(), wait );
|
return Send( peer, message.c_str(), message.size(), wait );
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,6 @@ public:
|
||||||
void Close( const string peer = "" );
|
void Close( const string peer = "" );
|
||||||
void Connect( 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 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 Send( const string& peer, const string& data, const bool wait = SYNC_OFF );
|
||||||
bool SetOptions( const string options );
|
bool SetOptions( const string options );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue