|
@@ -3255,7 +3255,7 @@ static CURLcode ftp_done(struct Curl_easy *data, CURLcode status,
|
|
|
if(data->state.wildcardmatch) {
|
|
|
if(data->set.chunk_end && ftpc->file) {
|
|
|
Curl_set_in_callback(data, true);
|
|
|
- data->set.chunk_end(data->wildcard.customptr);
|
|
|
+ data->set.chunk_end(data->set.wildcardptr);
|
|
|
Curl_set_in_callback(data, false);
|
|
|
}
|
|
|
ftpc->known_filesize = -1;
|
|
@@ -3909,7 +3909,7 @@ static CURLcode wc_statemach(struct Curl_easy *data)
|
|
|
long userresponse;
|
|
|
Curl_set_in_callback(data, true);
|
|
|
userresponse = data->set.chunk_bgn(
|
|
|
- finfo, wildcard->customptr, (int)wildcard->filelist.size);
|
|
|
+ finfo, data->set.wildcardptr, (int)wildcard->filelist.size);
|
|
|
Curl_set_in_callback(data, false);
|
|
|
switch(userresponse) {
|
|
|
case CURL_CHUNK_BGN_FUNC_SKIP:
|
|
@@ -3949,7 +3949,7 @@ static CURLcode wc_statemach(struct Curl_easy *data)
|
|
|
case CURLWC_SKIP: {
|
|
|
if(data->set.chunk_end) {
|
|
|
Curl_set_in_callback(data, true);
|
|
|
- data->set.chunk_end(data->wildcard.customptr);
|
|
|
+ data->set.chunk_end(data->set.wildcardptr);
|
|
|
Curl_set_in_callback(data, false);
|
|
|
}
|
|
|
Curl_llist_remove(&wildcard->filelist, wildcard->filelist.head, NULL);
|