node: update comment

The comment mentions a variable `needs_flush`, which is not `write_intent`.
This commit is contained in:
Fintan Halpenny
2026-01-19 17:56:56 +01:00
committed by Lorenz Leutgeb
parent 958422a7c4
commit eeadffa636
+1 -1
View File
@@ -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!(