X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/289d396c8d0684e23c2233291164febfec3947bf..f7795445d9e0dd2282b336c89ebe117a2b71a88e:/projects/sgconf/config.h?ds=sidebyside diff --git a/projects/sgconf/config.h b/projects/sgconf/config.h index 9ec9616e..424ca519 100644 --- a/projects/sgconf/config.h +++ b/projects/sgconf/config.h @@ -57,19 +57,19 @@ struct CONFIG { std::string res("{ "); if (!configFile.empty()) - res += "configFile: '" + configFile.data() + "'"; + res += "configFile: '" + configFile.data() + "',"; if (!server.empty()) - res += ", server: '" + server.data() + "'"; + res += " server: '" + server.data() + "',"; if (!port.empty()) - res += ", port: " + x2str(port.data()); + res += " port: " + x2str(port.data()) + ","; if (!userName.empty()) - res += ", userName: '" + userName.data() + "'"; + res += " userName: '" + userName.data() + "',"; if (!userPass.empty()) - res += ", userPass: '" + userPass.data() + "'"; + res += " userPass: '" + userPass.data() + "'"; return res + " }"; } }; -} +} // namespace SGCONF #endif