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
|
// Message loop
|
||||||
thread::spawn(move || {
|
thread::spawn(move || {
|
||||||
let mut handshake_complete = false;
|
let mut handshake_complete = false;
|
||||||
let mut sock = sock;
|
|
||||||
loop {
|
loop {
|
||||||
// Receive new message
|
// Receive new message
|
||||||
match sock.receive_message() {
|
match sock.receive_message() {
|
||||||
|
|
Loading…
Reference in New Issue