mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-27 16:57:21 +00:00
agent string
This commit is contained in:
@@ -153,7 +153,7 @@ JsonNode *revgeo(double lat, double lon, UT_string *addr, UT_string *cc)
|
||||
#endif
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_URL, utstring_body(url));
|
||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "ot-recorder-agent/1.0");
|
||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "OwnTracks-Recorder/1.0");
|
||||
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, writemem);
|
||||
|
||||
Reference in New Issue
Block a user