mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-19 11:06:15 +00:00
curl expects a long
This commit is contained in:
@@ -345,7 +345,7 @@ JsonNode *revgeo(struct udata *ud, double lat, double lon, UT_string *addr, UT_s
|
||||
curl_easy_setopt(curl, CURLOPT_USERAGENT, "OwnTracks-Recorder/1.0");
|
||||
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, GEOCODE_TIMEOUT);
|
||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT_MS, (long)GEOCODE_TIMEOUT);
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, writemem);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)cbuf);
|
||||
|
||||
Reference in New Issue
Block a user