aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/FullyBufferedSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event/FullyBufferedSocket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/FullyBufferedSocket.cxx b/src/event/FullyBufferedSocket.cxx
index e7869cd66..375132e34 100644
--- a/src/event/FullyBufferedSocket.cxx
+++ b/src/event/FullyBufferedSocket.cxx
@@ -60,7 +60,7 @@ FullyBufferedSocket::Flush()
assert(IsDefined());
const auto data = output.Read();
- if (data.IsNull()) {
+ if (data.IsEmpty()) {
IdleMonitor::Cancel();
CancelWrite();
return true;