]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1621] Set maximum version correctly in logger_example.cc
authorStephen Morris <stephen@isc.org>
Thu, 9 Jan 2014 07:26:19 +0000 (12:56 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 9 Jan 2014 07:26:19 +0000 (12:56 +0530)
src/lib/log/tests/logger_example.cc

index daadb7c4ff4c5a207988bbbcca02d165df3f298d..729fdacabf3dd2dce7ea0f9ffba322dda70dc27f 100644 (file)
@@ -215,7 +215,7 @@ int main(int argc, char** argv) {
                 return (1);
             }
             try {
-                cur_opt.maxsize = boost::lexical_cast<unsigned int>(optarg);
+                cur_opt.maxver = boost::lexical_cast<unsigned int>(optarg);
             } catch (boost::bad_lexical_cast&) {
                 std::cerr << "Maximum version (-m) argument must be a positive "
                              "integer\n";