aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/BufferedOutStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rdr/BufferedOutStream.cxx')
-rw-r--r--common/rdr/BufferedOutStream.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/rdr/BufferedOutStream.cxx b/common/rdr/BufferedOutStream.cxx
index 930b80b9..c8f6ce9c 100644
--- a/common/rdr/BufferedOutStream.cxx
+++ b/common/rdr/BufferedOutStream.cxx
@@ -60,7 +60,7 @@ void BufferedOutStream::flush()
len = (ptr - sentUpTo);
- if (!flushBuffer(false))
+ if (!flushBuffer())
break;
offset += len - (ptr - sentUpTo);
@@ -148,4 +148,6 @@ void BufferedOutStream::overrun(size_t needed)
gettimeofday(&lastSizeCheck, NULL);
peakUsage = totalNeeded;
+
+ return;
}