Merge pull request #133 from romanz/master
Remove variable shadowing in listener.rs
This commit is contained in:
commit
a1c9a25d07
|
@ -53,7 +53,6 @@ pub trait Listener {
|
|||
// Message loop
|
||||
thread::spawn(move || {
|
||||
let mut handshake_complete = false;
|
||||
let mut sock = sock;
|
||||
loop {
|
||||
// Receive new message
|
||||
match sock.receive_message() {
|
||||
|
|
Loading…
Reference in New Issue