fix setup installer download

old-commit-hash: b3ba65d6a4
commatwo_master
Adeeb Shihadeh 5 years ago
parent 74814dfb75
commit bc4fd60f20
  1. 1
      selfdrive/ui/qt/setup/setup.cc

@ -28,6 +28,7 @@ void Setup::download(QString url) {
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, NULL);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, fp);
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_USERAGENT, USER_AGENT);
curl_easy_perform(curl);
curl_easy_cleanup(curl);

Loading…
Cancel
Save