diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-03-02 07:42:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-03-02 07:42:54 +0100 |
commit | d7242f4757de67f02b13fac850c3472598f999ca (patch) | |
tree | 15f489c293337a304101cd2f35e1f51b84abab69 /lib/mime.h | |
parent | e002f6c0cbec7f87fd7ed478cc463bbb9a33b085 (diff) | |
download | curl-d7242f4757de67f02b13fac850c3472598f999ca.tar.gz |
Revert "mime: do not perform more than one read in a row"
This reverts commit ed0f357f7d25566110d4302f33759f4ffb5a6f83.
Diffstat (limited to 'lib/mime.h')
-rw-r--r-- | lib/mime.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mime.h b/lib/mime.h index d7f25132e..c6d374ec1 100644 --- a/lib/mime.h +++ b/lib/mime.h @@ -31,7 +31,6 @@ /* Part flags. */ #define MIME_USERHEADERS_OWNER (1 << 0) #define MIME_BODY_ONLY (1 << 1) -#define MIME_FAST_READ (1 << 2) #define FILE_CONTENTTYPE_DEFAULT "application/octet-stream" #define MULTIPART_CONTENTTYPE_DEFAULT "multipart/mixed" @@ -88,7 +87,7 @@ typedef struct { typedef struct { enum mimestate state; /* Current state token. */ void *ptr; /* State-dependent pointer. */ - curl_off_t offset; /* State-dependent offset. */ + size_t offset; /* State-dependent offset. */ } mime_state; /* minimum buffer size for the boundary string */ |