aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.rs b/src/client.rs
index ce7ce77..80a7455 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -308,11 +308,11 @@ impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static>
let auth_type = self.auth.auth_type();
let id = id.to_string();
- let addr = OAUTH_LISTEN_ADDRESS
+ let address = OAUTH_LISTEN_ADDRESS
.parse()
.context(crate::error::ParseAddr)?;
- let listener = tokio::net::TcpListener::bind(&addr)
- .context(crate::error::Bind)?;
+ let listener = tokio::net::TcpListener::bind(&address)
+ .context(crate::error::Bind { address })?;
Ok(Box::new(
listener
.incoming()