aboutsummaryrefslogtreecommitdiff
path: root/src/stable
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2024-06-27 13:33:29 -0700
committerMike Buland <mike@xagasoft.com>2024-06-27 13:33:29 -0700
commit4bf0f0c256693e30017f9bea60cf55aa97f8994a (patch)
tree04d38578f9ae56855186cc56bfea5886a1ce0545 /src/stable
parent153b34e490032d22fa71a7125fb78a120f9f848d (diff)
downloadlibbu++-4bf0f0c256693e30017f9bea60cf55aa97f8994a.tar.gz
libbu++-4bf0f0c256693e30017f9bea60cf55aa97f8994a.tar.bz2
libbu++-4bf0f0c256693e30017f9bea60cf55aa97f8994a.tar.xz
libbu++-4bf0f0c256693e30017f9bea60cf55aa97f8994a.zip
The client flush function didn't do anything.
Now it makes sure the buffer has been flushed and sets the buffer to be sent out.
Diffstat (limited to 'src/stable')
-rw-r--r--src/stable/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stable/client.cpp b/src/stable/client.cpp
index a32e87f..f8cff1a 100644
--- a/src/stable/client.cpp
+++ b/src/stable/client.cpp
@@ -213,6 +213,8 @@ bool Bu::Client::isEos()
213 213
214void Bu::Client::flush() 214void Bu::Client::flush()
215{ 215{
216 cbBuffer.client().flush();
217 outputReady();
216} 218}
217 219
218bool Bu::Client::canRead() 220bool Bu::Client::canRead()