diff options
Diffstat (limited to 'common/rdr/TLSOutStream.cxx')
-rw-r--r-- | common/rdr/TLSOutStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rdr/TLSOutStream.cxx b/common/rdr/TLSOutStream.cxx index 7d7c3b56..089aa660 100644 --- a/common/rdr/TLSOutStream.cxx +++ b/common/rdr/TLSOutStream.cxx @@ -101,7 +101,7 @@ size_t TLSOutStream::overrun(size_t itemSize, size_t nItems) flush(); size_t nAvail; - nAvail = (end - ptr) / itemSize; + nAvail = avail() / itemSize; if (nAvail < nItems) return nAvail; |