mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-12-03 19:39:14 +08:00
fmt
This commit is contained in:
parent
a766aaf165
commit
81d4fb6d6a
@ -54,7 +54,8 @@ impl FramedSocket {
|
||||
reuse: bool,
|
||||
buf_size: usize,
|
||||
) -> ResultType<Self> {
|
||||
let addr = lookup_host(&addr).await?
|
||||
let addr = lookup_host(&addr)
|
||||
.await?
|
||||
.next()
|
||||
.context("could not resolve to any address")?;
|
||||
Ok(Self::Direct(UdpFramed::new(
|
||||
|
Loading…
Reference in New Issue
Block a user