diff options
Diffstat (limited to 'src/input/plugins')
-rw-r--r-- | src/input/plugins/CurlInputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 738937a26..01c3c6838 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -807,7 +807,7 @@ CurlInputStream::DataReceived(const void *ptr, size_t received_size) assert(w.size >= remaining); memcpy(w.data, (const uint8_t *)ptr + nbytes, remaining); - buffer.Append(received_size); + buffer.Append(remaining); } ready = true; |