      return;
    }
  
    char tmpfile[] = "/tmp/installer_XXXXXX";
    FILE *fp = fdopen(mkstemp(tmpfile), "w");
  
    curl_easy_setopt(curl, CURLOPT_URL, url.toStdString().c_str());
    curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, NULL);
 
</s> remove const char* USER_AGENT = "AGNOSSetup-0.1";
 </s> add const std::string USER_AGENT = "AGNOSSetup-"; </s> remove   curl_easy_setopt(curl, CURLOPT_USERAGENT, USER_AGENT);
 </s> add   curl_easy_setopt(curl, CURLOPT_USERAGENT, (USER_AGENT + version).c_str());
  auto version = util::read_file("/VERSION");

      return;
    }
  
  auto version = util::read_file("/VERSION");

    char tmpfile[] = "/tmp/installer_XXXXXX";
    FILE *fp = fdopen(mkstemp(tmpfile), "w");
  
    curl_easy_setopt(curl, CURLOPT_URL, url.toStdString().c_str());
    curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, NULL);
keep keep add keep keep keep keep keep
 setup: add OS version to user agent (#23656) 
selfdrive/ui/qt/setup/setup.cc