X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/289d396c8d0684e23c2233291164febfec3947bf..d38cb3c850bd206ed40410c8cba241094ab90833:/projects/sgconf/config.h 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