diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-03-02 07:42:48 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-03-02 07:42:48 +0100 |
commit | e002f6c0cbec7f87fd7ed478cc463bbb9a33b085 (patch) | |
tree | 1eaf566c0f08e69ad07d27534da75e0dc0b9ed08 /lib/mime.c | |
parent | ff3b1f48605dbe0c051415e1d0e1da2b9c44275c (diff) | |
download | curl-e002f6c0cbec7f87fd7ed478cc463bbb9a33b085.tar.gz |
Revert "mime: fix the binary encoder to handle large data properly"
This reverts commit b2caaa0681f329eed317ffb6ae6927f4a539f0c1.
Diffstat (limited to 'lib/mime.c')
-rw-r--r-- | lib/mime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mime.c b/lib/mime.c index b72732310..7d754e63b 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -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; |