moved the followlocation field from the http struct to the urldata struct

since it has to survive http struct deletion
This commit is contained in:
Daniel Stenberg
2000-11-13 18:23:21 +00:00
parent 336124c3dc
commit 2bd70e1351
2 changed files with 12 additions and 8 deletions

View File

@@ -646,7 +646,7 @@ CURLcode curl_transfer(CURL *curl)
/* mark the next request as a followed location: */
data->bits.this_is_a_follow = TRUE;
data->proto.http->followlocation++; /* count location-followers */
data->followlocation++; /* count location-followers */
if(data->bits.http_auto_referer) {
/* We are asked to automatically set the previous URL as the