fix update period

This commit is contained in:
francois committed 2022-02-15 17:38:01 +01:00
1 parent 779edcd6dd
commit 0d12ce7dcd
2 files changed
+10 -4

No files matched your search

+3 -2
View File
@@ -124,6 +124,7 @@ main (int argc, char** argv) {
urlBase ("http://file.kaz.bzh"),
apiPage ("/script.php"),
downloadPage ("/f.php"),
updatePage ("/a.php"),
minimumAvailability ("month"),
proxy;
@@ -264,8 +265,8 @@ main (int argc, char** argv) {
break;
case UPDATE: {
LOG ("UPDATE: " << (urlBase+downloadPage));
curl_easy_setopt (easyhandle, CURLOPT_URL, (urlBase+downloadPage).c_str ());
LOG ("UPDATE: " << (urlBase+updatePage));
curl_easy_setopt (easyhandle, CURLOPT_URL, (urlBase+updatePage).c_str ());
LOG ("h: " << inputFileName);
part = curl_mime_addpart (multipart);