Commit
+2 -2 +/-1 browse
1 | diff --git a/maitred/src/server.rs b/maitred/src/server.rs |
2 | index 2977285..8653187 100644 |
3 | --- a/maitred/src/server.rs |
4 | +++ b/maitred/src/server.rs |
5 | @@ -424,14 +424,14 @@ impl Server { |
6 | let tls_framed = Arc::new(Mutex::new(tls_framed)); |
7 | // Per the RFC after TLS is established the session is |
8 | // reset. |
9 | - let mut tls_session = session.clone().tls_active(true); |
10 | + let mut session = session.clone().tls_active(true); |
11 | loop { |
12 | match self |
13 | .on_frame( |
14 | Tls { |
15 | inner: tls_framed.clone(), |
16 | }, |
17 | - &mut tls_session, |
18 | + &mut session, |
19 | ) |
20 | .await? |
21 | { |