This commit is contained in:
Johannes Wendel
2019-08-15 23:11:55 +02:00
parent 74f0326c08
commit 6a6fe18231

View File

@@ -257,7 +257,7 @@ void FlippRServer::handle_help(const std::string& name, const std::string& value
std::string FlippRServer::get_runtime_dir()
{
char* runtime_dir = std::getenv("XDG_RUNTIME_DIR");
const char* runtime_dir = std::getenv("XDG_RUNTIME_DIR");
if(&runtime_dir == nullptr)
{
runtime_dir = DEFAULT_RUNTIME_DIR;