mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
node: update comment
The comment mentions a variable `needs_flush`, which is not `write_intent`.
This commit is contained in:
committed by
Lorenz Leutgeb
parent
958422a7c4
commit
eeadffa636
@@ -206,7 +206,7 @@ impl<S: Session> Transport<S> {
|
||||
}
|
||||
match self.flush() {
|
||||
Ok(_) => None,
|
||||
// In this case, the write could not complete. Leave `needs_flush` set
|
||||
// In this case, the write could not complete. Leave `write_intent` set
|
||||
// to be notified when the socket is ready to write again.
|
||||
Err(err)
|
||||
if matches!(
|
||||
|
||||
Reference in New Issue
Block a user