Fix a typo

This commit is contained in:
Stjepan Glavina 2019-09-11 17:29:33 +02:00
parent ab1e2b403a
commit 0f4f0fb77e

View file

@ -258,7 +258,7 @@ async fn broker(events: Receiver<Event>) {
for addr in to { for addr in to {
if let Some(peer) = peers.get_mut(&addr) { if let Some(peer) = peers.get_mut(&addr) {
let msg = format!("from {}: {}\n", from, msg); let msg = format!("from {}: {}\n", from, msg);
peer.send(fmt).await peer.send(msg).await
.unwrap() // 6 .unwrap() // 6
} }
} }