BACKENDS: Remove extra line returns in warnings
This commit is contained in:
parent
cd86de0dc2
commit
25bf68c39a
1 changed files with 2 additions and 2 deletions
|
@ -273,11 +273,11 @@ void LocalWebserver::resolveAddress(void *ipAddress) {
|
||||||
// default way (might work everywhere, surely works on Windows)
|
// default way (might work everywhere, surely works on Windows)
|
||||||
const char *name = SDLNet_ResolveIP(ip);
|
const char *name = SDLNet_ResolveIP(ip);
|
||||||
if (name == NULL) {
|
if (name == NULL) {
|
||||||
warning("LocalWebserver: SDLNet_ResolveHost: %s\n", SDLNet_GetError());
|
warning("LocalWebserver: SDLNet_ResolveIP: %s", SDLNet_GetError());
|
||||||
} else {
|
} else {
|
||||||
IPaddress localIp;
|
IPaddress localIp;
|
||||||
if (SDLNet_ResolveHost(&localIp, name, _serverPort) == -1) {
|
if (SDLNet_ResolveHost(&localIp, name, _serverPort) == -1) {
|
||||||
warning("LocalWebserver: SDLNet_ResolveHost: %s\n", SDLNet_GetError());
|
warning("LocalWebserver: SDLNet_ResolveHost: %s", SDLNet_GetError());
|
||||||
} else {
|
} else {
|
||||||
_address = Common::String::format(
|
_address = Common::String::format(
|
||||||
"http://%u.%u.%u.%u:%u/",
|
"http://%u.%u.%u.%u:%u/",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue