diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-12-08 16:07:01 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-12-08 23:40:54 +0100 |
commit | 9ffad8eb1329bb35c8988115ac7ed85cf91ef955 (patch) | |
tree | eb760c23fde720333d652e46cffdf317d4bcf62d /src | |
parent | 912324024b3be13ef9c3eedfc437a9fcb7961228 (diff) |
curl: don't set CURLOPT_INTERLEAVEDATA
That data is only ever used by the CURLOPT_INTERLEAVEFUNCTION callback
and that option isn't set or used by the curl tool!
Updates the 9 tests that verify --libcurl
Closes #2167
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_operate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c index 5401955af..fe7b65200 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -864,7 +864,7 @@ static CURLcode operate_do(struct GlobalConfig *global, /* where to store */ my_setopt(curl, CURLOPT_WRITEDATA, &outs); - my_setopt(curl, CURLOPT_INTERLEAVEDATA, &outs); + if(metalink || !config->use_metalink) /* what call to write */ my_setopt(curl, CURLOPT_WRITEFUNCTION, tool_write_cb); |