From a62f11c5509f8d7b2a4c3b587c0e7af8d4f5a39b Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Thu, 5 May 2016 21:59:35 +0200 Subject: [PATCH] Don't continue parsing after processing version line --- simgear/io/HTTPRepository.cxx | 1 + 1 file changed, 1 insertion(+) 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" ) { -- 2.39.5