mirror of
https://github.com/curl/curl.git
synced 2026-07-24 18:47:18 +03:00
Revert "mime: fix the binary encoder to handle large data properly"
This reverts commit b2caaa0681.
This commit is contained in:
parent
ff3b1f4860
commit
e002f6c0cb
6 changed files with 4 additions and 423 deletions
|
|
@ -366,7 +366,7 @@ static size_t encoder_nop_read(char *buffer, size_t size, bool ateof,
|
|||
size = insize;
|
||||
|
||||
if(size)
|
||||
memcpy(buffer, st->buf + st->bufbeg, size);
|
||||
memcpy(buffer, st->buf, size);
|
||||
|
||||
st->bufbeg += size;
|
||||
return size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue