summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/formdata.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2025-06-04 09:49:23 +0300
committerdartraiden <wowemuh@gmail.com>2025-06-04 10:27:11 +0300
commit86d1a677fd310d7d90d6f7545c02a4bd68e1d955 (patch)
tree7fd5f46ef18038d10dcdf9fa19ffee547d51d6ad /libs/libcurl/src/formdata.h
parente8e2a816fbbcec0d6a64496928fecff19c281d82 (diff)
libcurl: update to 8.14.0
Diffstat (limited to 'libs/libcurl/src/formdata.h')
-rw-r--r--libs/libcurl/src/formdata.h10
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,