summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-06-24 15:48:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-06-24 15:48:39 +0200
commit62241fa99f73d4d99d1af50c402a67701e0e5d79 (patch)
treeae452d7b7d688816f117561a0b82a609a6594c35 /lib/url.c
parent7fb33ee871a04d2e4f6ffedba0808635efb1ef53 (diff)
downloadcurl-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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 8225e617a..be4b95f45 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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 */