diff options
author | rustdesk <[email protected]> | 2024-05-24 18:37:11 +0800 |
---|---|---|
committer | rustdesk <[email protected]> | 2024-05-24 18:37:11 +0800 |
commit | 5078a1f7971f4b5a507bd7164f1eb960e5195369 (patch) | |
tree | 4ec095d45c39892d1be5b0d21d3f9ce6d99e2b57 /src/hbbr.rs | |
parent | a22dacce0c9a0444bdffc5529d8645a599b07374 (diff) | |
download | rustdesk-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.rs | 2 |
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(()) } |