mirror of
https://github.com/MariaDB/server.git
synced 2025-08-27 13:04:36 +03:00
made tryBind static
using tryBind instead to determine if we're "config host" is "local" ndb/include/util/SocketServer.hpp: made tryBind static ndb/src/common/util/SocketServer.cpp: made tryBind static ndb/src/mgmsrv/MgmtSrvr.cpp: using tryBind instead to determine if we're "config host" is "local"
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
* then close the socket
|
||||
* Returns true if succeding in binding
|
||||
*/
|
||||
bool tryBind(unsigned short port, const char * intface = 0) const;
|
||||
static bool tryBind(unsigned short port, const char * intface = 0);
|
||||
|
||||
/**
|
||||
* Setup socket
|
||||
|
Reference in New Issue
Block a user