diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-06-24 15:48:39 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-06-24 15:48:39 +0200 |
commit | 62241fa99f73d4d99d1af50c402a67701e0e5d79 (patch) | |
tree | ae452d7b7d688816f117561a0b82a609a6594c35 /lib/url.c | |
parent | 7fb33ee871a04d2e4f6ffedba0808635efb1ef53 (diff) | |
download | curl-62241fa99f73d4d99d1af50c402a67701e0e5d79.tar.gz |
setopt: make INFILESIZE and POSTFIELDSIZE do the same thingbagder/filesize-unite
They're both used to set the size of the request body so let's treat
them as identical internally.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -470,7 +470,6 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data) set->convfromutf8 = ZERO_NULL; set->filesize = -1; /* we don't know the size */ - set->postfieldsize = -1; /* unknown size */ set->maxredirs = -1; /* allow any amount by default */ set->method = HTTPREQ_GET; /* Default HTTP request */ |