Remove ntohl from GetRemoteIP on android (Thanks @cnorthrop for catch)

* Since android uses local abstract sockets, this seems to not be needed
This commit is contained in:
baldurk
2017-12-14 13:42:54 +00:00
parent bca909adef
commit f62096f986
@@ -31,7 +31,7 @@ namespace Network
uint32_t Socket::GetRemoteIP() const
{
// Android uses abstract sockets which are only "localhost" accessible
return ntohl(MakeIP(127, 0, 0, 1));
return MakeIP(127, 0, 0, 1);
}
Socket *CreateServerSocket(const char * /* bindaddr */, uint16_t port, int queuesize)