summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-14 15:15:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-14 15:15:51 +0300
commit5c7ea2e2dc120107145e7314119a82654280c010 (patch)
tree5d2d9b88ac3c30907bb7bb936c65be1f7311773c /src/net
parentfc5a71f55255e7ff211efe80b33a2cd3dd89a8ea (diff)
downloadplus-5c7ea2e2dc120107145e7314119a82654280c010.tar.gz
plus-5c7ea2e2dc120107145e7314119a82654280c010.tar.bz2
plus-5c7ea2e2dc120107145e7314119a82654280c010.tar.xz
plus-5c7ea2e2dc120107145e7314119a82654280c010.zip
Add name for default server updates group.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/serverinfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index e2949af0b..37be5e279 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -44,6 +44,7 @@ class ServerInfo final
std::string registerUrl;
std::string onlineListUrl;
std::string supportUrl;
+ std::string defaultHostName;
std::vector<std::string> updateMirrors;
std::vector<HostsGroup> updateHosts;
uint16_t port;
@@ -61,6 +62,7 @@ class ServerInfo final
registerUrl(),
onlineListUrl(),
supportUrl(),
+ defaultHostName(),
updateMirrors(),
updateHosts(),
#ifdef TMWA_SUPPORT
@@ -85,6 +87,7 @@ class ServerInfo final
registerUrl(info.registerUrl),
onlineListUrl(info.onlineListUrl),
supportUrl(info.supportUrl),
+ defaultHostName(info.defaultHostName),
updateMirrors(info.updateMirrors),
updateHosts(info.updateHosts),
port(info.port),
@@ -107,6 +110,7 @@ class ServerInfo final
registerUrl = info.registerUrl;
onlineListUrl = info.onlineListUrl;
supportUrl = info.supportUrl;
+ defaultHostName = info.defaultHostName;
updateMirrors = info.updateMirrors;
updateHosts = info.updateHosts;
port = info.port;
@@ -136,6 +140,7 @@ class ServerInfo final
registerUrl.clear();
onlineListUrl.clear();
supportUrl.clear();
+ defaultHostName.clear();
updateMirrors.clear();
updateHosts.clear();
version.first = 0;