1
0
Fork 0

Merge branch 'next' of gitorious.org:fg/flightgear into next

This commit is contained in:
Durk Talsma 2011-12-31 19:59:56 +01:00
commit c8d7b3ecf2

View file

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