Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2021-02-23 08:11:18 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2021-02-23 23:15:07 +0300
commit06f9c279b2a50164e945069d4aee04255a77ee4f (patch)
treecdb8628bb5d0a23e43e119137265e0bcd6470c46 /src/murmur/Register.cpp
parent9ad316b77c6b2ecb8239e76dcc3a8bc431803f74 (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.cpp2
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;