Another tweak

pull/146/head
Chip Senkbeil 2 years ago
parent 4a0ca34f6c
commit 213e1f216f
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -73,11 +73,10 @@ impl<A: AuthHandler + Send> WindowsPipeClientBuilder<A> {
let transport = if self.local {
let mut full_addr = OsString::from(r"\\.\pipe\");
full_addr.push(addr.as_ref());
WindowsPipeTransport::connect(full_addr)
WindowsPipeTransport::connect(full_addr).await?
} else {
WindowsPipeTransport::connect(addr.as_ref())
}
.await?;
WindowsPipeTransport::connect(addr.as_ref()).await?
};
// Establish our framed transport, perform a handshake to set the codec, and do
// authentication to ensure the connection can be used

Loading…
Cancel
Save