diff options
author | Davide Beatrici <git@davidebeatrici.dev> | 2021-02-23 08:11:18 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2021-02-23 23:15:07 +0300 |
commit | 06f9c279b2a50164e945069d4aee04255a77ee4f (patch) | |
tree | cdb8628bb5d0a23e43e119137265e0bcd6470c46 /src/murmur/Register.cpp | |
parent | 9ad316b77c6b2ecb8239e76dcc3a8bc431803f74 (diff) |
FIX(server): Don't pass unneeded values to OSInfo, rely on the ones it provides
4fc7df5ddeb2a52cafdd67cbc0b0d3182f14cfdb greatly improved OSInfo, but didn't take into account that the server passes its own values to OSInfo::fillXml().
As a result, "osver" was set to the same value as "osverbose" with the architecture appended to it.
Since the function is not called often (it's for the public list registration), this commit simply removes the arguments from it.
Diffstat (limited to 'src/murmur/Register.cpp')
-rw-r--r-- | src/murmur/Register.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Register.cpp b/src/murmur/Register.cpp index 72f5c8449..bf05d3e1c 100644 --- a/src/murmur/Register.cpp +++ b/src/murmur/Register.cpp @@ -55,7 +55,7 @@ void Server::update() { QDomElement root = doc.createElement(QLatin1String("server")); doc.appendChild(root); - OSInfo::fillXml(doc, root, meta->qsOS, meta->qsOSVersion, qlBind); + OSInfo::fillXml(doc, root, qlBind); QDomElement tag; QDomText t; |