summaryrefslogtreecommitdiff
path: root/client/as-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/as-util.c')
-rw-r--r--client/as-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/as-util.c b/client/as-util.c
index ce973ed..87ec1e3 100644
--- a/client/as-util.c
+++ b/client/as-util.c
@@ -3447,6 +3447,7 @@ as_util_mirror_screenshots_app_url (AsUtilPrivate *priv,
}
(void)curl_easy_setopt(priv->curl, CURLOPT_URL, url);
(void)curl_easy_setopt(priv->curl, CURLOPT_ERRORBUFFER, errbuf);
+ (void)curl_easy_setopt(priv->curl, CURLOPT_FOLLOWLOCATION, 1);
(void)curl_easy_setopt(priv->curl,
CURLOPT_WRITEFUNCTION,
as_util_download_write_callback_cb);