diff options
Diffstat (limited to 'libs/libcurl/src/formdata.h')
-rw-r--r-- | libs/libcurl/src/formdata.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/libcurl/src/formdata.h b/libs/libcurl/src/formdata.h index 9c5f3cd76b..ba30e79dbf 100644 --- a/libs/libcurl/src/formdata.h +++ b/libs/libcurl/src/formdata.h @@ -35,7 +35,6 @@ struct FormInfo { char *value;
curl_off_t contentslength;
char *contenttype;
- long flags;
char *buffer; /* pointer to existing buffer used for file upload */
size_t bufferlength;
char *showfilename; /* The filename to show. If not set, the actual
@@ -43,10 +42,11 @@ struct FormInfo { char *userp; /* pointer for the read callback */
struct curl_slist *contentheader;
struct FormInfo *more;
- bool name_alloc;
- bool value_alloc;
- bool contenttype_alloc;
- bool showfilename_alloc;
+ unsigned char flags;
+ BIT(name_alloc);
+ BIT(value_alloc);
+ BIT(contenttype_alloc);
+ BIT(showfilename_alloc);
};
CURLcode Curl_getformdata(CURL *data,
|