]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/props.cxx
#545: Fix ATC chatter sound settings being ignored
[flightgear.git] / src / Network / props.cxx
index 10befcab8895587ae7613c94dc659ad9004bcf2b..7240d5cb236bcd360f1371ce348e909479bc0df2 100644 (file)
@@ -36,6 +36,7 @@
 
 #include <sstream>
 #include <iostream>
+#include <errno.h>
 
 #include <Main/globals.hxx>
 #include <Main/viewmgr.hxx>
@@ -291,7 +292,7 @@ PropsChannel::foundTerminator()
                     if ( !globals->get_commands()
                              ->execute( "reinit", &args) )
                     {
-                        SG_LOG( SG_GENERAL, SG_ALERT,
+                        SG_LOG( SG_NETWORK, SG_ALERT,
                                 "Command " << tokens[1] << " failed.");
                         if ( mode == PROMPT ) {
                             tmp += "*failed*";
@@ -356,7 +357,7 @@ PropsChannel::foundTerminator()
                     if ( !globals->get_commands()
                              ->execute(tokens[1].c_str(), &args) )
                     {
-                        SG_LOG( SG_GENERAL, SG_ALERT,
+                        SG_LOG( SG_NETWORK, SG_ALERT,
                                 "Command " << tokens[1] << " failed.");
                         if ( mode == PROMPT ) {
                             tmp += "*failed*";