#include <simgear/compiler.h>
#include <algorithm> // sort()
-#include <stdlib.h> // atoi() atof()
-
+#include <cstdlib> // atoi() atof()
+#include <cstring>
#include <string>
#include <simgear/debug/logstream.hxx>
bool FGHttpd::process() {
- netChannel::poll();
+ simgear::NetChannel::poll();
return true;
}
if ( !globals->get_commands()
->execute(urlDecode(b).c_str(), &args) )
{
- SG_LOG( SG_GENERAL, SG_ALERT,
+ SG_LOG( SG_NETWORK, SG_ALERT,
"Command " << urlDecode(b)
<< " failed.");
}