summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/stream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/stream.rs b/src/client/stream.rs
index 7e2b5fa..9913f63 100644
--- a/src/client/stream.rs
+++ b/src/client/stream.rs
@@ -67,7 +67,7 @@ impl SseHandler {
}
fn safe_ret(&self, ret: Result<()>) -> Result<()> {
- if ret.is_err() && self.abort.aborted() {
+ if self.abort.aborted() {
return Ok(());
}
ret