From 5b213b0504849b894cf930474fb1bff7cb34cd70 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 6 Nov 2013 21:52:09 +0100 Subject: event/FullyBufferedSocket: make WriteFromBuffer() protected .. and rename it to Flush(). --- src/event/FullyBufferedSocket.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/event/FullyBufferedSocket.hxx') diff --git a/src/event/FullyBufferedSocket.hxx b/src/event/FullyBufferedSocket.hxx index 29a6ae64b..90638e60b 100644 --- a/src/event/FullyBufferedSocket.hxx +++ b/src/event/FullyBufferedSocket.hxx @@ -44,14 +44,14 @@ public: private: ssize_t DirectWrite(const void *data, size_t length); +protected: /** * Send data from the output buffer to the socket. * * @return false if the socket has been closed */ - bool WriteFromBuffer(); + bool Flush(); -protected: /** * @return false if the socket has been closed */ -- cgit v1.2.3