diff options
Diffstat (limited to 'src/event/FullyBufferedSocket.cxx')
-rw-r--r-- | src/event/FullyBufferedSocket.cxx | 2 |
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; |