diff options
Diffstat (limited to 'http-walker.c')
-rw-r--r-- | http-walker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-walker.c b/http-walker.c index 19e31623f0..910fae539b 100644 --- a/http-walker.c +++ b/http-walker.c @@ -378,7 +378,7 @@ static void fetch_alternates(struct walker *walker, const char *base) alt_req.walker = walker; slot->callback_data = &alt_req; - curl_easy_setopt(slot->curl, CURLOPT_FILE, &buffer); + curl_easy_setopt(slot->curl, CURLOPT_WRITEDATA, &buffer); curl_easy_setopt(slot->curl, CURLOPT_WRITEFUNCTION, fwrite_buffer); curl_easy_setopt(slot->curl, CURLOPT_URL, url.buf); |