reuse port, and revert hbbr -k

This commit is contained in:
rustdesk committed 2024-05-24 18:37:11 +08:00
1 parent a22dacce0c
commit 5078a1f797
7 files changed
+20 -8

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ fn main() -> ResultType<()> {
matches.value_of("port").unwrap_or(&port.to_string()),
matches
.value_of("key")
.unwrap_or(&std::env::var("KEY").unwrap_or("-".to_owned())),
.unwrap_or(&std::env::var("KEY").unwrap_or_default()),
)?;
Ok(())
}