1
0
Fork 0

simplify the METAR string, remove newline etc.

This commit is contained in:
Torsten Dreyer 2011-12-31 17:31:13 +01:00
parent b648b71671
commit de7debe253

View file

@ -367,7 +367,7 @@ void NoaaMetarRealWxController::requestMetar( MetarDataHandler * metarDataHandle
virtual void responseComplete()
{
if (responseCode() == 200) {
_metarDataHandler->handleMetarData( _metar);
_metarDataHandler->handleMetarData( simgear::strutils::simplify(_metar) );
} else {
SG_LOG(SG_ENVIRONMENT, SG_WARN, "metar download failed:" << url() << ": reason:" << responseReason());
}