mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-21 18:55: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 };
|
||||
sockaddr serverAddress = { 0 };
|
||||
sockaddr udpAddress = { 0 };
|
||||
sockaddr udpAddress = { 0 };
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
// TODO Find a way around the 41553 constant port
|
||||
udpAddress.address = hostAddress;
|
||||
udpAddress.port = 0;
|
||||
udpAddress.family = 2;
|
||||
|
|
Loading…
Reference in a new issue