Removed obsolete warnings

This commit is contained in:
arkpar
2016-01-22 01:27:51 +01:00
parent d431854421
commit 81bb86d0ed
3 changed files with 4 additions and 6 deletions

View File

@@ -438,7 +438,7 @@ impl<Message> Host<Message> where Message: Send + Sync + Clone {
io.update_registration(token).unwrap_or_else(|e| debug!(target: "net", "Session registration error: {:?}", e));
}
}
} else { warn!(target: "net", "Received event for unknown connection") }
}
if kill {
self.kill_connection(token, io); //TODO: mark connection as dead an check in kill_connection
return;
@@ -498,9 +498,7 @@ impl<Message> Host<Message> where Message: Send + Sync + Clone {
}
}
}
} else {
warn!(target: "net", "Received event for unknown connection");
}
}
if kill {
self.kill_connection(token, io); //TODO: mark connection as dead an check in kill_connection
return;