From: Torsten Dreyer Date: Thu, 5 May 2016 19:59:35 +0000 (+0200) Subject: Don't continue parsing after processing version line X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a62f11c5509f8d7b2a4c3b587c0e7af8d4f5a39b;p=simgear.git Don't continue parsing after processing version line --- diff --git a/simgear/io/HTTPRepository.cxx b/simgear/io/HTTPRepository.cxx index d27850dd..8ae8038e 100644 --- a/simgear/io/HTTPRepository.cxx +++ b/simgear/io/HTTPRepository.cxx @@ -441,6 +441,7 @@ private: SG_LOG(SG_TERRASYNC, SG_WARN, "invalid .dirindex file: wrong version number '" << tokens[1] << "' (expected 1)" ); break; } + continue; // version is good, continue } if( typeData == "path" ) {