X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fio%2Fsg_netChannel.cxx;h=a189f6816af6de09e6b8a1af07315fc0b4a2f947;hb=bc9b3f6ff1fcc5caa67c07ad99f971c0faacf91a;hp=463f24f9d28186210eaa34ac3b4094efc3d085ef;hpb=403b7c14aaf57e3918636344d979a0190a21a4ab;p=simgear.git diff --git a/simgear/io/sg_netChannel.cxx b/simgear/io/sg_netChannel.cxx index 463f24f9..a189f681 100644 --- a/simgear/io/sg_netChannel.cxx +++ b/simgear/io/sg_netChannel.cxx @@ -210,9 +210,8 @@ NetChannel::handleResolve() } if (!addr.isValid()) { - // I'm absuing ENETUNREACH, all we do is pass this to strerror - // in handleError - handleError (ENETUNREACH); + SG_LOG(SG_IO, SG_WARN, "Network: host lookup failed:" << host); + handleError (0); close(); return -1; }