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