diff options
Diffstat (limited to 'backends/networking/sdl_net/localwebserver.cpp')
-rw-r--r-- | backends/networking/sdl_net/localwebserver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/networking/sdl_net/localwebserver.cpp b/backends/networking/sdl_net/localwebserver.cpp index 6557c7a88d..2b971cf1c0 100644 --- a/backends/networking/sdl_net/localwebserver.cpp +++ b/backends/networking/sdl_net/localwebserver.cpp @@ -273,11 +273,11 @@ void LocalWebserver::resolveAddress(void *ipAddress) { // default way (might work everywhere, surely works on Windows) const char *name = SDLNet_ResolveIP(ip); if (name == NULL) { - warning("LocalWebserver: SDLNet_ResolveHost: %s\n", SDLNet_GetError()); + warning("LocalWebserver: SDLNet_ResolveIP: %s", SDLNet_GetError()); } else { IPaddress localIp; if (SDLNet_ResolveHost(&localIp, name, _serverPort) == -1) { - warning("LocalWebserver: SDLNet_ResolveHost: %s\n", SDLNet_GetError()); + warning("LocalWebserver: SDLNet_ResolveHost: %s", SDLNet_GetError()); } else { _address = Common::String::format( "http://%u.%u.%u.%u:%u/", |