diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-02-27 23:44:39 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-02-28 08:44:28 +0100 |
commit | c9c3ec482bb9bf54961536444005862c6227bdeb (patch) | |
tree | 3b98f077c91edfdbb6d6cd1a7aad1eeae04b0f55 /lib/setopt.c | |
parent | 51211a31a523e53bab4b57e1e84f81d0532c67c0 (diff) | |
download | curl-c9c3ec482bb9bf54961536444005862c6227bdeb.tar.gz |
setopt: move the CURLOPT_CHUNK_DATA pointer to the set struct
To make duphandle work etc
Closes #10635
Diffstat (limited to 'lib/setopt.c')
-rw-r--r-- | lib/setopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setopt.c b/lib/setopt.c index 604693ad9..24d4897a1 100644 --- a/lib/setopt.c +++ b/lib/setopt.c @@ -2849,7 +2849,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param) data->set.fnmatch = va_arg(param, curl_fnmatch_callback); break; case CURLOPT_CHUNK_DATA: - data->wildcard.customptr = va_arg(param, void *); + data->set.wildcardptr = va_arg(param, void *); break; case CURLOPT_FNMATCH_DATA: data->set.fnmatch_data = va_arg(param, void *); |