Allow multiple configuration files
Will merge contents from @CMAKE_INSTALL_PREFIX@/share/wivrn/config.json /etc/wivrn/config.json ~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact) If -f option is provided, just parse that file, don't merge anything
This commit is contained in:
@@ -88,7 +88,7 @@ void wivrn::wivrn_connection::init(std::stop_token stop_token, std::function<voi
|
||||
throw std::system_error(errno, std::system_category(), "Cannot get client address");
|
||||
}
|
||||
|
||||
if (configuration::read_user_configuration().tcp_only)
|
||||
if (configuration().tcp_only)
|
||||
{
|
||||
port = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user