]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/generic.cxx
ignore resets for now because every z/Z key press would trigger a call to NOAA. We...
[flightgear.git] / src / Network / generic.cxx
index 7df1220d90dfd3596258e78c63cc9492a74bad2d..2be6cb29145313841061304306cdf65b50246976 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/io/iochannel.hxx>
-#include <simgear/misc/exception.hxx>
+#include <simgear/structure/exception.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/props/props.hxx>
 #include <simgear/props/props_io.hxx>
@@ -211,7 +211,7 @@ bool FGGeneric::process() {
     if ( get_direction() == SG_IO_OUT ) {
         gen_message();
         if ( ! io->write( buf, length ) ) {
-            SG_LOG( SG_IO, SG_ALERT, "Error writing data." );
+            SG_LOG( SG_IO, SG_WARN, "Error writing data." );
             return false;
         }
     } else if ( get_direction() == SG_IO_IN ) {