aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/FullyBufferedSocket.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-06 21:52:09 +0100
committerMax Kellermann <max@duempel.org>2013-11-06 21:52:09 +0100
commit5b213b0504849b894cf930474fb1bff7cb34cd70 (patch)
treede67be2c0db1077f13ef111e41c2cb963165bf05 /src/event/FullyBufferedSocket.hxx
parentad27d06979311005560ee02a87595817f4ad2933 (diff)
downloadmpd-5b213b0504849b894cf930474fb1bff7cb34cd70.tar.gz
mpd-5b213b0504849b894cf930474fb1bff7cb34cd70.tar.xz
mpd-5b213b0504849b894cf930474fb1bff7cb34cd70.zip
event/FullyBufferedSocket: make WriteFromBuffer() protected
.. and rename it to Flush().
Diffstat (limited to '')
-rw-r--r--src/event/FullyBufferedSocket.hxx4
1 files changed, 2 insertions, 2 deletions
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
*/