Skip to content
Snippets Groups Projects
Commit 2695ac1a authored by Andrea Zoli's avatar Andrea Zoli
Browse files

Fix Tail element parsing, handle it as optional.

parent 040ba55f
Branches
Tags
No related merge requests found
......@@ -364,9 +364,12 @@ std::string XmlConfig::convert(const std::string& filename)
counter++;
}
pfs << "[Tail]" << endl;
xml_node tail = packet.child("tail");
if(tail)
{
pfs << "[Tail]" << endl;
_writeFields(tail, pfs);
}
// if not defined in the header find in datafieldheader
int algindex = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment