X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fascent.c;h=1e7eca1480fee669b888cd279a3f903f7e1ddeb9;hb=17a04c7afcf44707f6bc45697212c1f8fc6aa761;hp=8829e518f3fbfef289b9d74d368fe7ffc1de7bbf;hpb=619f112a584fcd89d2e8df7781a0a01341188189;p=collectd.git diff --git a/src/ascent.c b/src/ascent.c index 8829e518..1e7eca14 100644 --- a/src/ascent.c +++ b/src/ascent.c @@ -560,6 +560,7 @@ static int ascent_init (void) /* {{{ */ } curl_easy_setopt (curl, CURLOPT_URL, url); + curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1); if ((verify_peer == NULL) || (strcmp (verify_peer, "true") == 0)) curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, 1);