]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_netChannel.cxx
Unit test for SGBinObj, and fix a bug in large-indice handling the test revealed.
[simgear.git] / simgear / io / sg_netChannel.cxx
index 463f24f9d28186210eaa34ac3b4094efc3d085ef..a189f6816af6de09e6b8a1af07315fc0b4a2f947 100644 (file)
@@ -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;
     }