aboutsummaryrefslogtreecommitdiff
path: root/lib/highlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/highlevel.c')
-rw-r--r--lib/highlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highlevel.c b/lib/highlevel.c
index a67e0f024..fbdde4bff 100644
--- a/lib/highlevel.c
+++ b/lib/highlevel.c
@@ -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