aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/hbbr.rs
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2024-05-24 18:37:11 +0800
committerrustdesk <[email protected]>2024-05-24 18:37:11 +0800
commit5078a1f7971f4b5a507bd7164f1eb960e5195369 (patch)
tree4ec095d45c39892d1be5b0d21d3f9ce6d99e2b57 /src/hbbr.rs
parenta22dacce0c9a0444bdffc5529d8645a599b07374 (diff)
downloadrustdesk-server-5078a1f7971f4b5a507bd7164f1eb960e5195369.tar.gz
rustdesk-server-5078a1f7971f4b5a507bd7164f1eb960e5195369.zip
reuse port, and revert hbbr `-k`1.1.11-1
Diffstat (limited to 'src/hbbr.rs')
-rw-r--r--src/hbbr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hbbr.rs b/src/hbbr.rs
index 49d449c..4c8a784 100644
--- a/src/hbbr.rs
+++ b/src/hbbr.rs
@@ -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(())
}