mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:31:41 +03:00
curl: set INTERLEAVEDATA too
As otherwise the callback could be called with a NULL pointer when RTSP data is provided.
This commit is contained in:
parent
9a509680f6
commit
8e8afa82cb
1 changed files with 1 additions and 0 deletions
|
|
@ -800,6 +800,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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue