Commit 3219b4b9 authored by R.K.Garcia's avatar R.K.Garcia
Browse files

fix for "Version 1.0" HSD version tag

this is at least present in the test data
parent daf4c746
......@@ -1116,6 +1116,8 @@ public:
int major = 0, minor = 0;
if (2==sscanf(fv.c_str(), "%d.%d", &major, &minor)) {
return ((major > 1) || (major==1 && minor>=3));
} else if (2==sscanf(fv.c_str(), "Version %d.%d", &major, &minor)) {
return ((major > 1) || (major==1 && minor>=3));
}
LOG << "WARNING: Unable to parse format version '" << fv << "'\n";
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment