From: Alex Schmidt Date: Tue, 4 Jun 2013 12:23:10 +0000 (+0200) Subject: bugbug X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/238fccf7dd50a69b5825f4544b3e247bfbf4e417 bugbug --- diff --git a/configcache.cpp b/configcache.cpp index bcfe92f..02b6d94 100644 --- a/configcache.cpp +++ b/configcache.cpp @@ -93,11 +93,10 @@ bool configcache::isValidInFile(const string& infile, infiledesc *filedesc) switch(iPart) { - case 1: if(inParts != CACHEID) { - return false; - break; - } - case 2: + case 1: if(inParts != CACHEID) + return false; + break; + case 2: if (atoi(inParts) > NEQUI) return false; else if (atoi(inParts) < NEQUI)