mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 03:05:16 +00:00
Clean up
This commit is contained in:
parent
a9c3ec4006
commit
53f91b8695
1 changed files with 1 additions and 2 deletions
|
@ -30,7 +30,7 @@ nn::Result SocketClient::init(const char* ip, u16 port) {
|
||||||
|
|
||||||
in_addr hostAddress = { 0 };
|
in_addr hostAddress = { 0 };
|
||||||
sockaddr serverAddress = { 0 };
|
sockaddr serverAddress = { 0 };
|
||||||
sockaddr udpAddress = { 0 };
|
sockaddr udpAddress = { 0 };
|
||||||
|
|
||||||
Logger::log("SocketClient::init: %s:%d sock %s\n", ip, port, getStateChar());
|
Logger::log("SocketClient::init: %s:%d sock %s\n", ip, port, getStateChar());
|
||||||
|
|
||||||
|
@ -87,7 +87,6 @@ nn::Result SocketClient::init(const char* ip, u16 port) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Find a way around the 41553 constant port
|
|
||||||
udpAddress.address = hostAddress;
|
udpAddress.address = hostAddress;
|
||||||
udpAddress.port = 0;
|
udpAddress.port = 0;
|
||||||
udpAddress.family = 2;
|
udpAddress.family = 2;
|
||||||
|
|
Loading…
Reference in a new issue