diff options
Diffstat (limited to '')
-rw-r--r-- | src/event/FullyBufferedSocket.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/FullyBufferedSocket.cxx b/src/event/FullyBufferedSocket.cxx index 3ffd9f416..6a0df183d 100644 --- a/src/event/FullyBufferedSocket.cxx +++ b/src/event/FullyBufferedSocket.cxx @@ -54,7 +54,7 @@ FullyBufferedSocket::DirectWrite(const void *data, size_t length) } bool -FullyBufferedSocket::WriteFromBuffer() +FullyBufferedSocket::Flush() { assert(IsDefined()); @@ -128,7 +128,7 @@ FullyBufferedSocket::OnSocketReady(unsigned flags) if (flags & WRITE) { assert(!output.IsEmpty()); - if (!WriteFromBuffer()) + if (!Flush()) return false; } |