diff options
author | Mike Buland <mike@xagasoft.com> | 2024-06-27 13:33:29 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2024-06-27 13:33:29 -0700 |
commit | 4bf0f0c256693e30017f9bea60cf55aa97f8994a (patch) | |
tree | 04d38578f9ae56855186cc56bfea5886a1ce0545 | |
parent | 153b34e490032d22fa71a7125fb78a120f9f848d (diff) | |
download | libbu++-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 '')
-rw-r--r-- | src/stable/client.cpp | 2 |
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 | ||
214 | void Bu::Client::flush() | 214 | void Bu::Client::flush() |
215 | { | 215 | { |
216 | cbBuffer.client().flush(); | ||
217 | outputReady(); | ||
216 | } | 218 | } |
217 | 219 | ||
218 | bool Bu::Client::canRead() | 220 | bool Bu::Client::canRead() |