changed runtime dir
This commit is contained in:
@@ -257,7 +257,7 @@ void FlippRServer::handle_help(const std::string& name, const std::string& value
|
||||
|
||||
std::string FlippRServer::get_runtime_dir()
|
||||
{
|
||||
const char* runtime_dir = std::getenv("XDG_RUNTIME_DIR");
|
||||
char* runtime_dir = std::getenv("XDG_RUNTIME_DIR");
|
||||
if(&runtime_dir == nullptr)
|
||||
{
|
||||
runtime_dir = DEFAULT_RUNTIME_DIR;
|
||||
|
||||
Reference in New Issue
Block a user