]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_netChannel.cxx
hla: Use HLADataElementIndices for HLAInteractionClass.
[simgear.git] / simgear / io / sg_netChannel.cxx
index 463f24f9d28186210eaa34ac3b4094efc3d085ef..b903a98082f4c31d6f853c168140c1d98f985dfa 100644 (file)
@@ -16,7 +16,7 @@
  
      You should have received a copy of the GNU Library General Public
      License along with this library; if not, write to the Free Software
-     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
  
      For further information visit http://plib.sourceforge.net
 
@@ -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;
     }