Fix a typo

staging
Stjepan Glavina 5 years ago
parent ab1e2b403a
commit 0f4f0fb77e

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

Loading…
Cancel
Save