]> git.mxchange.org Git - simgear.git/commitdiff
Don't continue parsing after processing version line
authorTorsten Dreyer <torsten@t3r.de>
Thu, 5 May 2016 19:59:35 +0000 (21:59 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
simgear/io/HTTPRepository.cxx

index d27850dd724c22f217ce8d283e40ec017ef77ff6..8ae8038e12ea7b57bd9002d8ca92188ad3cae56b 100644 (file)
@@ -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" ) {