mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:41:41 +03:00
setopt: Fix setting of set.is_fwrite_set
Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
parent
81239edb89
commit
368fd5d27b
1 changed files with 1 additions and 1 deletions
|
|
@ -1845,7 +1845,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||
data->set.fwrite_func = (curl_write_callback)fwrite;
|
||||
}
|
||||
else
|
||||
data->set.is_fwrite_set = 0;
|
||||
data->set.is_fwrite_set = 1;
|
||||
break;
|
||||
case CURLOPT_READFUNCTION:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue