mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 20:03:18 +00:00
added diagnostics
This commit is contained in:
parent
527594d2aa
commit
c65592c51a
@ -85,7 +85,9 @@ connection connect(const std::string& host, int port)
|
||||
throw error(SDLNet_GetError());
|
||||
}
|
||||
|
||||
std::cerr << "opening connection\n";
|
||||
TCPsocket sock = SDLNet_TCP_Open(&ip);
|
||||
std::cerr << "opened connection okay\n";
|
||||
if(!sock) {
|
||||
throw error(SDLNet_GetError());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user