fix for unkown clients using shadow's style
This commit is contained in:
parent
189a8756ee
commit
c7c784170f
|
@ -201,12 +201,17 @@ namespace
|
||||||
if (i < name_map + size && std::equal(f.id, f.id + 2, i->first))
|
if (i < name_map + size && std::equal(f.id, f.id + 2, i->first))
|
||||||
identity << i->second;
|
identity << i->second;
|
||||||
else
|
else
|
||||||
identity << std::string(f.id, f.id + 2);
|
{
|
||||||
|
identity << f.id[0];
|
||||||
|
if (f.id[1] != 0) identity << f.id[1];
|
||||||
|
}
|
||||||
|
|
||||||
identity << " " << (int)f.major_version
|
identity << " " << (int)f.major_version
|
||||||
<< "." << (int)f.minor_version
|
<< "." << (int)f.minor_version
|
||||||
<< "." << (int)f.revision_version
|
<< "." << (int)f.revision_version;
|
||||||
<< "." << (int)f.tag_version;
|
|
||||||
|
if (f.id[1] != 0)
|
||||||
|
identity << "." << (int)f.tag_version;
|
||||||
|
|
||||||
return identity.str();
|
return identity.str();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue