summaryrefslogtreecommitdiff
path: root/tests/all.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/all.rs')
-rw-r--r--tests/all.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/all.rs b/tests/all.rs
index f8d427a..fb3bc21 100644
--- a/tests/all.rs
+++ b/tests/all.rs
@@ -23,7 +23,7 @@ pub fn socket() -> TcpStream {
pub fn authed_session() -> (TcpStream, ssh2::Session) {
let user = os::getenv("USER").unwrap();
- let sess = ssh2::Session::new().unwrap();
+ let mut sess = ssh2::Session::new().unwrap();
let socket = socket();
sess.handshake(socket.fd()).unwrap();
assert!(!sess.authenticated());