aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2023-01-07 00:32:10 +0800
committerrustdesk <[email protected]>2023-01-07 00:32:10 +0800
commitd48913d7b597c0655fb364f87e43d98d811ae38e (patch)
treee3ba517768e938fce5469e65b62ef5cf25e788a2 /libs
parent155720391248265ef28b34b304a8c697eed84680 (diff)
downloadrustdesk-server-d48913d7b597c0655fb364f87e43d98d811ae38e.tar.gz
rustdesk-server-d48913d7b597c0655fb364f87e43d98d811ae38e.zip
fix clippy
Diffstat (limited to 'libs')
-rw-r--r--libs/hbb_common/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs
index b350e71..4dad2d2 100644
--- a/libs/hbb_common/src/config.rs
+++ b/libs/hbb_common/src/config.rs
@@ -438,7 +438,7 @@ impl Config {
let org = ORG.read().unwrap().clone();
// /var/root for root
if let Some(project) =
- directories_next::ProjectDirs::from("", org, &APP_NAME.read().unwrap())
+ directories_next::ProjectDirs::from("", &org, &APP_NAME.read().unwrap())
{
let mut path = patch(project.config_dir().to_path_buf());
path.push(p);