MXS-1929: Fix version_string

The new default value was not copied to the old value.
This commit is contained in:
Markus Mäkelä 2018-08-11 14:05:12 +03:00
parent c984381662
commit cef305e598
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -192,6 +192,7 @@ Service::Service(const std::string& service_name, const std::string& router_name
snprintf(user, sizeof(user), "%s", m_user.c_str());
snprintf(password, sizeof(password), "%s", m_password.c_str());
snprintf(weightby, sizeof(weightby), "%s", m_weightby.c_str());
snprintf(version_string, sizeof(version_string), "%s", m_version_string.c_str());
max_retry_interval = config_get_integer(params, CN_MAX_RETRY_INTERVAL);
users_from_all = config_get_bool(params, CN_AUTH_ALL_SERVERS);