diff options
author | Chris Wilson <chris+github@qwirx.com> | 2016-09-11 11:00:27 +0100 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2016-09-11 11:00:27 +0100 |
commit | 6d9b8278659d1828774af355cda5afeef2b31d57 (patch) | |
tree | d8e7598f6894d6c63f5b40e2524553934b9b943a /lib/common | |
parent | cada24ae028dba3699112186d4fe09275ef80d86 (diff) |
Fix infinite loop in RateLimitingStream::Write().
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/RateLimitingStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/RateLimitingStream.h b/lib/common/RateLimitingStream.h index cd9d8271..818c90af 100644 --- a/lib/common/RateLimitingStream.h +++ b/lib/common/RateLimitingStream.h @@ -33,7 +33,7 @@ public: virtual void Write(const void *pBuffer, int NBytes, int Timeout = IOStream::TimeOutInfinite) { - Write(pBuffer, NBytes, Timeout); + mrSink.Write(pBuffer, NBytes, Timeout); } virtual pos_type BytesLeftToRead() { |