X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/783ed451825ea18f1bec2502cb3fcecda653234a..af9452155f0892e1d2862efad4a87861ca60867d:/sgconf/config.h?ds=sidebyside diff --git a/sgconf/config.h b/sgconf/config.h index 271837cc..bb4f360a 100644 --- a/sgconf/config.h +++ b/sgconf/config.h @@ -70,11 +70,11 @@ struct CONFIG if (!server.empty()) res += "server: '" + server.data() + "'\n"; if (!port.empty()) - res += "port: " + x2str(port.data()) + "\n"; + res += "port: " + std::to_string(port.data()) + "\n"; if (!localAddress.empty()) res += "local address: '" + localAddress.data() + "'\n"; if (!localPort.empty()) - res += "local port: " + x2str(localPort.data()) + "\n"; + res += "local port: " + std::to_string(localPort.data()) + "\n"; if (!userName.empty()) res += "userName: '" + userName.data() + "'\n"; if (!userPass.empty())