mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user